Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: What could cause excessive page faults?by Marshall (Canon) |
on Mar 11, 2010 at 03:11 UTC ( [id://827929]=note: print w/replies, xml ) | Need Help?? |
I find this syntax for map confusing and always use the curly braces syntax. map{...}
is way faster than: because the map generates an anon array that is an "extra step" and that array is copied to @a. In your later code, you have a map within a map which is similar to a foreach within a foreach. So it is going to run like 1 million times slower. On my machine...
In Section
Seekers of Perl Wisdom
|
|