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 reply to Re^3: The fastest way of searching a certain element in an array
by Limbic~Region
in thread The fastest way of searching a certain element in an array
by ccn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |