|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Why is "any" slow in this case?by choroba (Cardinal) |
| on Jul 28, 2025 at 09:27 UTC ( [id://11165821]=note: print w/replies, xml ) | Need Help?? |
|
Note that grep is faster than any (but still slower than ugly).
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||