Branch: refs/heads/yves/regen_targets_and_optimizations
  Home:   https://github.com/Perl/perl5
  Commit: a57c5a438986d32f7737ce115d8f494b204b48a7
      
https://github.com/Perl/perl5/commit/a57c5a438986d32f7737ce115d8f494b204b48a7
  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

Add 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. Keep regen_perly in the Unix-like 
workflows because it requires a modern Bison.

Add individual targets and diagnostics for the keyword, inversion-list, and 
character-class generators. regen_keywords uses the installed Perl because 
Devel::Tokenizer::C is not part of the build tree, and the generator now 
reports how to install the missing dependency.

Document REGEN_VERBOSE alongside -v for regeneration scripts and update the 
porting regeneration test with target-specific recovery commands.


  Commit: cdefb8b5913c5481c208600030072c5956b65f09
      
https://github.com/Perl/perl5/commit/cdefb8b5913c5481c208600030072c5956b65f09
  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/a57c5a438986%5E...cdefb8b5913c

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to