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

RE: PERL_RC_STACK branch: first cut

Thread Previous | Thread Next
From:
Vadim V Konovalov via perl5-porters
Date:
February 27, 2023 07:39
Subject:
RE: PERL_RC_STACK branch: first cut
Message ID:
ec3ffa13a4904ebf9d7032b6c8f813d8@gazprombank.ru
> TL;DR:
> 
> The branch containing the first stage of my "make the stack ref-counted"
> work is nearly ready for merging. In a default build, the core is mostly
> unchanged: only when built with -DPERL_RC_STACK does it behave
> differently. It needs testing on Windows. I need to decide whether to merge
> soon or wait until after 5.38. Once in core it will affect people
> who write or
> modify PP functions. Currently an RC build runs about 20%
> slower; the second
> stage of this work will to optimise things - I expect
> this to make an RC perl
> run at about the same speed as a standard perl. At
> the bottom of this email is
> a cut+paste from a new section in perlguts
> which explains how it works. I'm not
> sure how the API functions get added to ppport.h.


Quick TLDRs questions
- what's the benefit? Does it fix bug or introduce nice new feature? Payment is high (in terms of speed 20%) so I guess the benefit is huge :)
Really impressive that this makes 4388-line perlguts some 900 lines (20%) more.
- out of curiosity, is this a TPF grant project?

With all the respect and regards,
Vadim

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About