This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make isUTF8_char() an inline function
authorKarl Williamson <khw@cpan.org>
Tue, 26 Jun 2018 01:11:46 +0000 (19:11 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 5 Jul 2018 20:47:18 +0000 (14:47 -0600)
commit8ed185f9c23fbf6e4b07abbe602e675889d07d4a
tree2c67fc73b1f4fa6023f5a4be18e0d158ca083c32
parent3de6d1419f40062b902c4f65a73bde456095805f
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.
embed.fnc
embed.h
inline.h
proto.h
regcharclass.h
regen/regcharclass.pl
utf8.h