develooper Front page | perl.perl5.porters | Postings from March 2023

DAVEM TPF Grant#3 Jan,Feb 2023 report

Thread Next
Dave Mitchell
March 6, 2023 12:36
DAVEM TPF Grant#3 Jan,Feb 2023 report
Message ID:
(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.

      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
    173:42 TOTAL (HH::MM)

"But Sidley Park is already a picture, and a most amiable picture too.
The slopes are green and gentle. The trees are companionably grouped at
intervals that show them to advantage. The rill is a serpentine ribbon
unwound from the lake peaceably contained by meadows on which the right
amount of sheep are tastefully arranged." -- Lady Croom, "Arcadia"

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About