diff options
author | Karl Williamson <khw@cpan.org> | 2019-11-24 21:21:39 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-11-26 19:38:15 -0700 |
commit | a405530a0bdfb812498536bb46a01f9dcbe8b5d7 (patch) | |
tree | 9927edf134a05bee7b8c9f3b208d7e2f48dc6ddd /regcomp.h | |
parent | a8def808210e08cea0b7889fea7c5146b21af4ed (diff) | |
download | perl-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.h | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -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 |