This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.sym: Reorder some entries
authorKarl Williamson <khw@cpan.org>
Wed, 3 Jun 2020 22:05:23 +0000 (16:05 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 2 Oct 2020 15:37:42 +0000 (09:37 -0600)
commit7af5518645a0304883fa2e9bfb22d9fd00b3847b
tree34b90211457157349a732b4f9d9f704926379875
parent1a651719bf0d87ba92ed2380a88eb658daa69fd6
regcomp.sym: Reorder some entries

These are mostly used in regexec.c in three functions.  Two of the
functions use less than half the available ones, as case labels in a
switch() statement.  By moving all the ones used by those functions to
be nearly contiguous at the beginning, compilers can generate smaller
jump tables for the switch().
pod/perldebguts.pod
regcomp.sym
regnodes.h