diff options
author | Karl Williamson <khw@cpan.org> | 2018-06-25 19:11:46 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-07-05 14:47:18 -0600 |
commit | 8ed185f9c23fbf6e4b07abbe602e675889d07d4a (patch) | |
tree | 2c67fc73b1f4fa6023f5a4be18e0d158ca083c32 /regcharclass.h | |
parent | 3de6d1419f40062b902c4f65a73bde456095805f (diff) | |
download | perl-8ed185f9c23fbf6e4b07abbe602e675889d07d4a.tar.gz |
Make isUTF8_char() an inline function
It was a macro that used a trie. This changes to use the dfa
constructed in previous commits. I didn't bother with taking
measurements. A dfa should require fewer conditionals to be executed
for many code points.
Diffstat (limited to 'regcharclass.h')
-rw-r--r-- | regcharclass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regcharclass.h b/regcharclass.h index 074d8f8cde..7727bcc176 100644 --- a/regcharclass.h +++ b/regcharclass.h @@ -1901,6 +1901,6 @@ * 6aaacc29ce24746bcb2bf82a920fcf90e07cf92d75325199c50f40754d39bb72 lib/unicore/mktables * 21653d2744fdd071f9ef138c805393901bb9547cf3e777ebf50215a191f986ea lib/unicore/version * 4bb677187a1a64e39d48f2e341b5ecb6c99857e49d7a79cf503bd8a3c709999b regen/charset_translations.pl - * 9ea6338945a7d70e5ea4b31ac7856c0b521df96be002e94b4b3b7d31debbf3ab regen/regcharclass.pl + * 069232ed937edb5a8f6a2e0e6e2d56e76ecc8d4580804f4f1ee98c828905434c regen/regcharclass.pl * 393f8d882713a3ba227351ad0f00ea4839fda74fcf77dcd1cdf31519925adba5 regen/regcharclass_multi_char_folds.pl * ex: set ro: */ |