Well first {} LIST from List::Util , is a specialized grep which stops processing after success.
And not needing to preallocate a huge list with 1e6 entries would be faster.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^2: The Virtue of Laziness
by LanX
in thread The Virtue of Laziness
by jo37
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |