in reply to Re^2: Most efficient way of search elements in an array
in thread Most efficient way of search elements in an array
Also note that my code is equivalent to the pre-5.10 solution offered by Fletch. It wasn't obvious to me from the documentation for List::MoreUtils, until I looked at the source code for any: it does break out of the loop as soon as it finds the first match.
|
|---|