in reply to Re: Re: The fastest way of searching a certain element in an array
in thread The fastest way of searching a certain element in an array
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: The fastest way of searching a certain element in an array
by ccn (Vicar) on Jan 15, 2005 at 12:25 UTC |