in reply to
Re^3: Just 1 line explanation
in thread
Just 1 line explanation
I ran your benchmarks with similar results. With (much) longer lists
first
does come up second, still beaten by
found
. The low overhead of
found
's direct loop seems hard to beat.
Anno
Comment on
Re^4: Just 1 line explanation
Select
or
Download
Code
In Section
Seekers of Perl Wisdom