Maintaining Perl 5 Core (Dave Mitchell): January - February 2023
Mon, 28-Aug-2023 by
alh
edit post
Dave writes:
(This report covers two months)
This is my monthly report on work done during Jan and Feb 2023 covered by
my TPF perl core maintenance grant.
I mainly continued work on making the stack reference counted.
I have now reached a point where, on a perl built with the non-default
PERL_RC_STACK define, perl uses a reference-counted stack, and all tests
pass (including those from the bundled dist/ and cpan/) distributions).
None of those distributions required any changes to work in the new
reference-counted environment, which is encouraging. This initial work
has been made available as PR #20858. I'm not expecting to merge this
into blead until some time after 5.38.0 has been released.
In a default (non-PERL_RC_STACK) build, perl shows no noticeable
performance degradation, and didn't break any of CPAN modules which
various people tested it against. On an RC build, the test suite is
currently about 20% slower, and some breakage has been spotted. The latter
is what I am currently looking into. The slowdown is likely largely caused
by the temporary wrapping of the old-style PP functions in the perl core.
My next major work on this feature will be to unwrap such functions and
modify them to work directly with a reference-counted stack. I expect most
performance losses to be regained at that point.
SUMMARY:
* 3:33 fix croak.t class leak
* 137:22 make stack reference counted
* 27:34 process p5p mailbox
* 5:13 review PR #20677: fixup many regexp bugs
TOTAL:
* 173:42 (HH::MM)
Comments (0)