This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_subst: exit earlier after failed match
authorDavid Mitchell <davem@iabyn.com>
Thu, 17 Feb 2011 14:17:13 +0000 (14:17 +0000)
committerDavid Mitchell <davem@iabyn.com>
Fri, 18 Feb 2011 11:25:24 +0000 (11:25 +0000)
commit5e79dfb9cd4496df40e823bec270c4bcde98db07
tree953903923b74c8cf59bdb9cb6154775863c013fd
parent0ab462a656aa799cb05352f5ff7596c9bf6893ee
pp_subst: exit earlier after failed match

If the match fails, don't bother to execute some code that prepares the
source and replacement strings for a substitution (e.g. matching
UTF8-ness).

(This is an enhancement to ff6e92e827a143094fdf3af374056b524759194b)
pp_hot.c