good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re (tilly) 2: optimizing code - need helpby tilly (Archbishop) |
on Jan 19, 2001 at 22:36 UTC ( [id://53069]=note: print w/replies, xml ) | Need Help?? |
While that looks nice, be very careful to not use a map
that returns multiple entries per input with a long list
before 5.6.1 is out. Unfortunately it currently scales quadratically:
If that doesn't make you a believer, s/20/100/ and try again. This applies to all versions of Perl with map until the upcoming 5.6.1.
In Section
Seekers of Perl Wisdom
|
|