go ahead... be a heretic | |
PerlMonks |
Re^3: Benchmark: Constant List in Hash Sliceby dave_the_m (Monsignor) |
on Mar 14, 2019 at 15:01 UTC ( [id://1231258]=note: print w/replies, xml ) | Need Help?? |
does this also explain why using a normal @array variable is faster than a constant list?No. That's because constant arrays are implemented as constant array refs. So is implemented roughly as And neither (as far as I'm aware) get the compile-time HEK treatment Dave.
In Section
Seekers of Perl Wisdom
|
|