This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Put optimised substr assignment in void context
authorFather Chrysostomos <sprout@cpan.org>
Mon, 5 Dec 2011 20:55:57 +0000 (12:55 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 5 Dec 2011 21:44:00 +0000 (13:44 -0800)
commitd72a08cef7cdd5dc1701378ef61657bcd4fee58e
treec682662d693e4928c6652df81fdd017e334439ca
parentae4e3076fc2ac46ffb4f6ab62d2fd5909928343f
Put optimised substr assignment in void context

24fcb59fc optimised substr assignment in void context down to four-arg
substr, causing considerable speed-up, but did not take the extra step
of marking the substr op itself as being in void context, so pp_substr
was still constructing a return value.  This commit speed things up
just a tiny bit more.
op.c