Branch: refs/heads/yves/regen_targets_and_optimizations
Home: https://github.com/Perl/perl5
Commit: 8445751345c989bfb45c5c7fd5a4fceccb70077c
https://github.com/Perl/perl5/commit/8445751345c989bfb45c5c7fd5a4fceccb70077c
Author: Yves Orton <[email protected]>
Date: 2026-09-13 (Sun, 13 Sep 2026)
Changed paths:
M Cross/Makefile-cross-SH
M Makefile.SH
M Porting/makemeta
M Porting/pumpkin.pod
M charclass_invlists.inc
M keywords.c
M keywords.h
M lib/unicore/uni_keywords.pl
M perly.act
M perly.h
M perly.tab
M regcharclass.h
M regen.pl
M regen/keywords.pl
M regen/mk_invlists.pl
M regen/regcharclass.pl
M regen/regen_lib.pl
M regen/tidy_embed.pl
M regen_perly.pl
M regexp_constants.h
M t/porting/regen.t
M uni_keywords.h
M vms/descrip_mms.template
M win32/GNUmakefile
M win32/Makefile
Log Message:
-----------
regen: unify full regeneration targets
Enhance regen_all and regen-all as the complete regeneration workflow across the
supported makefile variants. The workflow builds Perl, runs the standard
generators, regenerates keywords and Unicode data, updates distribution
metadata, and finishes with a final build. On *nix it includes regen_perly,
which is excluded on other platforms because it requires Bison.
Add individual targets and diagnostics for the keyword, inversion-list, and
character-class generators. Also adds regen_keywords which uses the installed
Perl because Devel::Tokenizer::C is not part of the build tree, additionally
the generator now reports how to install the missing dependency.
Adds and documents REGEN_VERBOSE alongside -v for regeneration scripts and
update the porting regeneration test with target-specific recovery commands.
Commit: e258d7b0fc18c7ba7fae22d28f33dbd8913556c1
https://github.com/Perl/perl5/commit/e258d7b0fc18c7ba7fae22d28f33dbd8913556c1
Author: Yves Orton <[email protected]>
Date: 2026-09-13 (Sun, 13 Sep 2026)
Changed paths:
M charclass_invlists.inc
M lib/unicore/mktables
M lib/unicore/uni_keywords.pl
M regcharclass.h
M regen/mk_invlists.pl
M regen/mph.pl
M regexp_constants.h
M uni_keywords.h
Log Message:
-----------
mktables: speed up table generation
Reduce the cost of the hot mktables paths by using direct reference addresses,
compact Range and Range_List objects, direct gap searches, and small lookup
caches. Keep the generated data unchanged apart from the generator updates
needed for the optimized path.
On the same full Unicode mktables workload, the measured run improved from
about 17.0 seconds and 208 MB peak RSS to 13.1 seconds and 173 MB peak RSS.
That is about 23 percent less wall time and 17 percent less peak memory. The
result varies slightly between runs.
For the mk_invlists-related Unicode generation, this full workload is the
relevant end-to-end measurement. The MPH squeeze benchmark improved from about
34.2 seconds with randomized squeeze to 9.1 seconds with frequency-weighted
two-direction squeeze. The blob grew from 9,132 to 9,212 bytes, an increase of
80 bytes or 0.88 percent. The mk_invlists changes preserve the generated data
while avoiding expansion of large ranges during native translation.
The generated Unicode and character-class outputs were regenerated with the
updated generators and syntax checks pass for the changed Perl programs.
Compare: https://github.com/Perl/perl5/compare/cdefb8b5913c...e258d7b0fc18
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications