This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Skip duplicate work
authorKarl Williamson <khw@cpan.org>
Wed, 10 Feb 2016 21:13:10 +0000 (14:13 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 11 Feb 2016 04:16:44 +0000 (21:16 -0700)
commite29d83e275fddfa5dff93b81c390faeb10b4bf17
treeb8322d59f47c9433b830f926bad5fc25230ba55c
parent5b6be8ee92f615137555abea6248b4e39f12862a
regexec.c: Skip duplicate work

By changing the fallthrough of a case of a switch to a goto we can avoid
re-executing the test that was just done.
regexec.c