summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-11-24 21:21:39 -0700
committerKarl Williamson <khw@cpan.org>2019-11-26 19:38:15 -0700
commita405530a0bdfb812498536bb46a01f9dcbe8b5d7 (patch)
tree9927edf134a05bee7b8c9f3b208d7e2f48dc6ddd /regcomp.h
parenta8def808210e08cea0b7889fea7c5146b21af4ed (diff)
downloadperl-a405530a0bdfb812498536bb46a01f9dcbe8b5d7.tar.gz
Move data for PL_InBitmap to charclass_invlists.h
This makes it consistent with the other inversion lists for this sort of thing, and finishes the fix for GH #17154
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/regcomp.h b/regcomp.h
index cb5a559ae2..0104482d4b 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -199,21 +199,6 @@ struct regnode_2 {
U16 arg2;
};
-/* This give the number of code points that can be in the bitmap of an ANYOF
- * node. The shift number must currently be one of: 8..12. It can't be less
- * than 8 (256) because some code relies on it being at least that. Above 12
- * (4096), and you start running into warnings that some data structure widths
- * have been exceeded, though the test suite as of this writing still passes
- * for up through 16, which is as high as anyone would ever want to go,
- * encompassing all of the Unicode BMP, and thus including all the economically
- * important world scripts. At 12 most of them are: including Arabic,
- * Cyrillic, Greek, Hebrew, Indian subcontinent, Latin, and Thai; but not Han,
- * Japanese, nor Korean. (The regarglen structure in regnodes.h is a U8, and
- * the trie types TRIEC and AHOCORASICKC are larger than U8 for shift values
- * above 12.) Be sure to benchmark before changing, as larger sizes do
- * significantly slow down the test suite */
-#define NUM_ANYOF_CODE_POINTS (1 << 8)
-
#define ANYOF_BITMAP_SIZE (NUM_ANYOF_CODE_POINTS / 8) /* 8 bits/Byte */
/* Note that these form structs which are supersets of the next smaller one, by