This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Use word-at-a-time to repeat /i single byte pattern
authorKarl Williamson <khw@cpan.org>
Fri, 29 Dec 2017 22:45:38 +0000 (15:45 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 30 Jan 2018 18:38:12 +0000 (11:38 -0700)
commit070e8b2ef4f827a7e0d3199f7b37883a09545802
treee61def3c82cc4e192f16b0e061f7e896f9e912d1
parentab1efbdc1f74b2f4db076efa0b4d54f387d74efe
regexec.c: Use word-at-a-time to repeat /i single byte pattern

For most of the case folding pairs, like [Aa], it is possible to use a
mask to match them word-at-a-time in regrepeat(), so that long sequences
of them are handled with significantly better performance.
embed.fnc
embed.h
proto.h
regexec.c