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!
In reply to Re^7: Shortcutting grep in boolean context
by LanX
in thread Shortcutting grep in boolean context
by perlancar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |