This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Skip calculating a pass2 value in pass1
authorKarl Williamson <public@khwilliamson.com>
Sun, 11 Aug 2013 01:02:49 +0000 (19:02 -0600)
committerKarl Williamson <public@khwilliamson.com>
Thu, 15 Aug 2013 04:07:46 +0000 (22:07 -0600)
commitad7f617071a697e121681d5c9e18c84068ae2fa8
tree927ff00437a202f1d3b9462ab0279f12dc364abc
parent6d15ebf3ae5588d938ebfef078206488e50e50da
regcomp.c: Skip calculating a pass2 value in pass1

The result of this value at the end of the loop is discarded in pass1 of
the regex compilation, so don't bother to calculate it.
regcomp.c