summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-09-02 14:46:38 -0600
committerKarl Williamson <public@khwilliamson.com>2012-09-13 21:14:02 -0600
commit45fdf108c5f4d5c719b8d2f7389c81e54795bad7 (patch)
tree762c2b213f34c1467f50c28e5e1b2e7eec3375f9 /embed.fnc
parent612ead590b8b5f05e4060738540192ece946c340 (diff)
downloadperl-45fdf108c5f4d5c719b8d2f7389c81e54795bad7.tar.gz
regexec.c: Use new macros instead of swashes
A previous commit has caused macros to be generated that will match Unicode code points of interest to the \X algorithm. This patch uses them. This speeds up modern Korean processing by 15%. Together with recent previous commits, the throughput of modern Korean under \X has more than doubled, and is now comparable to other languages (which have increased themselved by 35%)
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc7
1 files changed, 0 insertions, 7 deletions
diff --git a/embed.fnc b/embed.fnc
index ab2cdec4b3..756f7c14c7 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -661,16 +661,9 @@ ApR |bool |is_utf8_punct |NN const U8 *p
ApR |bool |is_utf8_xdigit |NN const U8 *p
ApR |bool |is_utf8_mark |NN const U8 *p
EXpR |bool |is_utf8_X_extend |NN const U8 *p
-EXpR |bool |is_utf8_X_prepend |NN const U8 *p
EXpR |bool |is_utf8_X_regular_begin|NN const U8 *p
-EXpR |bool |is_utf8_X_special_begin|NN const U8 *p
-EXpR |bool |is_utf8_X_L |NN const U8 *p
-EXpR |bool |is_utf8_X_RI |NN const U8 *p
:not currently used EXpR |bool |is_utf8_X_LV |NN const U8 *p
EXpR |bool |is_utf8_X_LVT |NN const U8 *p
-EXpR |bool |is_utf8_X_LV_LVT_V |NN const U8 *p
-EXpR |bool |is_utf8_X_T |NN const U8 *p
-EXpR |bool |is_utf8_X_V |NN const U8 *p
: Used in perly.y
p |OP* |jmaybe |NN OP *o
: Used in pp.c