This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Optimize [^\n] into \N
authorKarl Williamson <public@khwilliamson.com>
Wed, 4 Jul 2012 21:22:59 +0000 (15:22 -0600)
committerKarl Williamson <public@khwilliamson.com>
Wed, 25 Jul 2012 03:13:44 +0000 (21:13 -0600)
commit5a279aa01b85454d24e44898e581820d24e712b3
tree24b171cfec202edfdac1e8845b57e00d5e956ea2
parent18890cbd431f4bda6e2dfe4162b73042ac79d6ab
regcomp.c: Optimize [^\n] into \N

This optimization is a big win, as it takes less space, and completely
avoids any swash hash creation, and use.
regcomp.c
t/re/re_tests