This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
remove redundant calls in S_minus_v in perl.c
authorDaniel Dragan <bulk88@hotmail.com>
Mon, 8 Oct 2012 20:21:03 +0000 (16:21 -0400)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 9 Oct 2012 00:01:51 +0000 (17:01 -0700)
Commit b0e47665895 added a large amount of redundant calls to
PerlIO_stdout(). Fix, cache stdout. Also commit 46807d8e809 added multiple
calls to SvPVs and sv_len on the same 2 scalars that do not change between
the calls to SvPV and sv_len. Since sv_len is a wrapper around SvPV*, just
use SvPV once on each scalar and cache everything.


No differences found