summaryrefslogtreecommitdiff
path: root/embedvar.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-08-28 14:22:14 -0600
committerKarl Williamson <khw@cpan.org>2014-09-03 12:43:15 -0600
commite0a1ff7a2452ef34ae8bb33cda6415709f1833fc (patch)
treed7329013a042eabb460b8437df73ae9ba2a4405d /embedvar.h
parent8e8a446824eed109a7c437ac4a417de07db94cc4 (diff)
downloadperl-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 'embedvar.h')
-rw-r--r--embedvar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/embedvar.h b/embedvar.h
index 766880ca73..d481681d1d 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -53,6 +53,7 @@
#define PL_Dir (vTHX->IDir)
#define PL_Env (vTHX->IEnv)
#define PL_HasMultiCharFold (vTHX->IHasMultiCharFold)
+#define PL_InBitmap (vTHX->IInBitmap)
#define PL_LIO (vTHX->ILIO)
#define PL_Latin1 (vTHX->ILatin1)
#define PL_Mem (vTHX->IMem)