This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
doop.c: Change to use is_utf8_invariant_string()
authorKarl Williamson <khw@cpan.org>
Wed, 22 Nov 2017 22:39:13 +0000 (15:39 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 23 Nov 2017 21:18:51 +0000 (14:18 -0700)
commit40b85b808db0f3032a304d8d25831f80bb7a83b9
treeec15c893ef28e068d56b496432024dbbdb1b491d
parente17544a60909ed9555c0dad7cd24afc40eb736e7
doop.c: Change to use is_utf8_invariant_string()

This commit changes 3 occurrences of byte-at-a-time looking to see if a
string is invariant under UTF-8, to using the inlined
is_utf8_invariant_string() which now does much faster word-at-a-time
looking.
doop.c