This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Optimize /[...]/ into ASCII regnode if appropriate
authorKarl Williamson <khw@cpan.org>
Fri, 29 Dec 2017 22:03:47 +0000 (15:03 -0700)
committerKarl Williamson <khw@cpan.org>
Sat, 30 Dec 2017 05:45:14 +0000 (22:45 -0700)
commit5c81f85b39b1ff1ac0478af6090841369b654d7b
treeceba91b12e098430959feedd2531685ecfb3719a
parentaff4cafe362e55c7722ba12952e287a7d1770cb9
Optimize /[...]/ into ASCII regnode if appropriate

Previously the optimization of this into a Posix regnode was skipped, as
the regnode for bracketed character classes had about the same
performance as the Posix regnodes did.  But the previous commit has
greatly improved the performance of this functionality by using new
ASCII regnodes, so now the optimization makes sense.
regcomp.c