Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: f706089dce566d8fe1e124fcd1cc74cb60ed7015
https://github.com/Perl/perl5/commit/f706089dce566d8fe1e124fcd1cc74cb60ed7015
Author: Richard Leach <[email protected]>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
M sv_inline.h
Log Message:
-----------
bodies_by_type: SVt_PVFM bodies use an arena, just like all other bodies
On a build that uses SV arenas, only the SVt_PVFM body is allocated,
with all other types being bodiless (e.g. SVt_IV) or using arenas.
Hot functions that add or remove bodies therefore have to perform a
check - which is effectively for a rare type - every time and contain
code to deal with both arenas & allocations.
This commit makes this body type also use an arena, allowing for
simplification of any core function that adds or removes a body.
Commit: 45c58275b6817f67279b2166259a839a5063d1f9
https://github.com/Perl/perl5/commit/45c58275b6817f67279b2166259a839a5063d1f9
Author: Richard Leach <[email protected]>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
M sv_inline.h
Log Message:
-----------
Perl_newSV_type: no bodies are allocated outside of PURIFY builds
Commit: 0a80f26a40ee3266d41c85ae066a0af33aef0716
https://github.com/Perl/perl5/commit/0a80f26a40ee3266d41c85ae066a0af33aef0716
Author: Richard Leach <[email protected]>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
M sv.c
Log Message:
-----------
Perl_sv_upgrade: no bodies are allocated outside of PURIFY builds
Commit: 781355fe31e1bdfe7b3beda8aa4c6ee5d4f64386
https://github.com/Perl/perl5/commit/781355fe31e1bdfe7b3beda8aa4c6ee5d4f64386
Author: Richard Leach <[email protected]>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
M sv.c
Log Message:
-----------
S_sv_dup_common: no bodies are allocated outside of PURIFY builds
Commit: edea3e96c6e88108c44e5a9ac2b24adf110d7928
https://github.com/Perl/perl5/commit/edea3e96c6e88108c44e5a9ac2b24adf110d7928
Author: Richard Leach <[email protected]>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
M sv.c
Log Message:
-----------
Perl_sv_clear: no bodies are allocated outside of PURIFY builds
This commit also duplicates the "free_rv" code for SVt_IV to directly
use rather than jumping to the shared code to hopefully help codegen.
(With gcc, at least, this commit led to better code layout for
bodiless SVs, regardless of content. Overall this commit caused a
slight reduction in the number of generated instructions, so
the "free_rv" duplication wasn't at the cost of code bloat.)
Compare: https://github.com/Perl/perl5/compare/caa579730fd1...edea3e96c6e8
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications