Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^7: Shortcutting grep in boolean context

by LanX (Saint)
on Jan 04, 2017 at 01:54 UTC ( [id://1178899]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Shortcutting grep in boolean context
in thread Shortcutting grep in boolean context

> I wonder what the differences are.

I wouldn't be surprised if it's the same code.

IIRC (?) were these features first introduced in List::MoreUtils and later in List::Util .

Thanks for the benchmark, have to look closer into it.

It's very surprising that the XS code may be so inefficient.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re^7: Shortcutting grep in boolean context

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1178899]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-23 07:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found