diff options
author | Karl Williamson <khw@cpan.org> | 2014-08-28 14:22:14 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-09-03 12:43:15 -0600 |
commit | e0a1ff7a2452ef34ae8bb33cda6415709f1833fc (patch) | |
tree | d7329013a042eabb460b8437df73ae9ba2a4405d /intrpvar.h | |
parent | 8e8a446824eed109a7c437ac4a417de07db94cc4 (diff) | |
download | perl-e0a1ff7a2452ef34ae8bb33cda6415709f1833fc.tar.gz |
Allow for changing size of bracketed regex char class
This commit allows Perl to be compiled with a bitmap size that is larger
than 256. This bitmap is used to directly look up whether a character
matches or not, without having to do a binary search or hash lookup. It
might improve the performance for some installations that have a lot of
use of scripts that are above the Latin1 range.
Diffstat (limited to 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intrpvar.h b/intrpvar.h index 06194d9588..57918b2456 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -580,6 +580,7 @@ PERLVAR(I, numeric_radix_sv, SV *) /* The radix separator if not '.' */ PERLVAR(I, Latin1, SV *) PERLVAR(I, UpperLatin1, SV *) /* Code points 128 - 255 */ PERLVAR(I, AboveLatin1, SV *) +PERLVAR(I, InBitmap, SV *) PERLVAR(I, NonL1NonFinalFold, SV *) PERLVAR(I, HasMultiCharFold, SV *) |