This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regen/regcharclass.pl: Add optimization
authorKarl Williamson <public@khwilliamson.com>
Wed, 5 Sep 2012 21:18:09 +0000 (15:18 -0600)
committerKarl Williamson <public@khwilliamson.com>
Fri, 14 Sep 2012 03:14:04 +0000 (21:14 -0600)
commit6e130234c25b195bf5141bd859d947ec051416ec
treefff306f4fa3d85a1ba186659a3613d6f685b63be
parent1f063c5738967dbc1ef4271ba8b58fbed5ac5a8c
regen/regcharclass.pl: Add optimization

On UTF-8 input known to be valid, continuation bytes must be in the
range 0x80 .. 0x9F.  Therefore, any tests for being within those bounds
will always be true, and may be omitted.
regcharclass.h
regen/regcharclass.pl