Just another Perl shrine | |
PerlMonks |
Re^2: Hash element exists/deleteby eyepopslikeamosquito (Archbishop) |
on Jan 22, 2013 at 11:40 UTC ( [id://1014635]=note: print w/replies, xml ) | Need Help?? |
There's no need to for two nested loops. That will get really slow when %hash gets big. "Doing linear scans over an associative array is like trying to club someone to death with a loaded Uzi" -- Larry Wall See also Clubbing someone to death with a loaded Uzi blog by Dominus.
In Section
Seekers of Perl Wisdom
|
|