This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In vars::import, avoid assigning to $pack, which is never read.
authorNicholas Clark <nick@ccl4.org>
Sat, 19 Jun 2010 21:43:41 +0000 (22:43 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 23 Jun 2010 07:44:42 +0000 (08:44 +0100)
commitf897bda4768f481fed99f4d632f63dbecb999c01
treec8420c6882ac74f756ab5e2db2e4999aae43de67
parent4c02ac936e9cd63efc582d138cd258830b6e2e0c
In vars::import, avoid assigning to $pack, which is never read.

On this platform, cachegrind shows a 0.5% reduction in instruction count and
L1 cache references as a result. A tiny gain for every instance of use vars ...;
lib/vars.pm