This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
don't create a copy of keys if it's not LVALUE context
authorRuslan Zakirov <ruz@bestpractical.com>
Wed, 17 Oct 2012 16:04:58 +0000 (20:04 +0400)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 11 Dec 2012 16:59:41 +0000 (08:59 -0800)
commit88e2091baeacd9a40eab4dac8601e88b3797e385
treee33f6bc9e99a9056dcfe31333b85e3fe358dcf94
parent1c4ea38437d309ec547e78e6f14940e799920be3
don't create a copy of keys if it's not LVALUE context

Making another copy slows things down. We can avoid it
if aassign is not expected to return LVALUEs.
pp_hot.c