diff options
author | Karl Williamson <khw@cpan.org> | 2018-07-01 16:00:41 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-07-05 14:47:19 -0600 |
commit | c5bfbb64f98c2c7e8055565dd018e0a2a8565c10 (patch) | |
tree | 480e811b72524783daf394b67ec17dc426538540 /embed.h | |
parent | 67049a5ffa8b7757041edb8f972a0a74fbe5d63d (diff) | |
download | perl-c5bfbb64f98c2c7e8055565dd018e0a2a8565c10.tar.gz |
Make isC9_STRICT_UTF8_CHAR() an inline dfa
This replaces a complicated trie with a dfa. This should cut down the
number of conditionals encountered in parsing many code points.
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -259,6 +259,7 @@ #define init_stacks() Perl_init_stacks(aTHX) #define init_tm(a) Perl_init_tm(aTHX_ a) #define intro_my() Perl_intro_my(aTHX) +#define isC9_STRICT_UTF8_CHAR S_isC9_STRICT_UTF8_CHAR #define isSTRICT_UTF8_CHAR S_isSTRICT_UTF8_CHAR #define isUTF8_CHAR S_isUTF8_CHAR #define is_c9strict_utf8_string_loclen S_is_c9strict_utf8_string_loclen |