summaryrefslogtreecommitdiff
path: root/unicode_constants.h
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 /unicode_constants.h
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 'unicode_constants.h')
-rw-r--r--unicode_constants.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/unicode_constants.h b/unicode_constants.h
index f915d59b8e..82081d910a 100644
--- a/unicode_constants.h
+++ b/unicode_constants.h
@@ -30,9 +30,6 @@
#define GREEK_SMALL_LETTER_UPSILON_UTF8_FIRST_BYTE 0xCF /* U+03C5 */
#define GREEK_SMALL_LETTER_UPSILON_UTF8_TAIL "\x85" /* U+03C5 */
-#define HANGUL_CHOSEONG_KIYEOK_UTF8 "\xE1\x84\x80" /* U+1100 */
-#define HANGUL_JUNGSEONG_FILLER_UTF8 "\xE1\x85\xA0" /* U+1160 */
-#define HANGUL_JONGSEONG_KIYEOK_UTF8 "\xE1\x86\xA8" /* U+11A8 */
#define HYPHEN_UTF8 "\xE2\x80\x90" /* U+2010 */
#define DELETE_NATIVE 0x007F /* U+007F */