This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Merge the guts of warnings::import and warnings::bits into _bits.
authorNicholas Clark <nick@ccl4.org>
Sat, 19 Jun 2010 21:32:33 +0000 (22:32 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 23 Jun 2010 07:44:42 +0000 (08:44 +0100)
commit4c02ac936e9cd63efc582d138cd258830b6e2e0c
treec882894b6bf85f212bf16642eb18e91ad96dc9da
parent8452af9f2d8674af680c1e3be7554590d5d7261c
Merge the guts of warnings::import and warnings::bits into _bits.

Additionally, removing the scope entry caused by the {} in the fast path of
&import reduces instruction count and L1 cache misses for warnings->import()
by 3%.
lib/warnings.pm
warnings.pl