regcomp.c:current_re_engine: Avoid %^H lookup when possible
authorFather Chrysostomos <sprout@cpan.org>
Sat, 7 Sep 2013 20:34:24 +0000 (13:34 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 8 Sep 2013 01:34:37 +0000 (18:34 -0700)
commita046df752d35f41083b1946a2f0e23d234df233a
treec138279a2650463db1964807a17617c20f0cbda1
parent6ddcf93bfb9c9445330f10bca453857b0fc69911
regcomp.c:current_re_engine: Avoid %^H lookup when possible

Modification of %^H sets a flag in PL_hints, so we can check
that flag to avoid the slight overhead of has lookup if %^H
has not been used.
regcomp.c