Don't ask to ask, just ask | |
PerlMonks |
Re^3: The fastest way of searching a certain element in an arrayby Limbic~Region (Chancellor) |
on Jan 14, 2005 at 19:38 UTC ( [id://422361]=note: print w/replies, xml ) | Need Help?? |
ccn,
Here is it's code: Well that depends. As I indicated in Getting Matching Items From An Array, List::Util falls back to pure perl (which has obvious inefficiencies) only if the XS version is unavailable. Which version of 'first' did you use in your benchmarks? Cheers - L~R
In Section
Meditations
|
|