Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Ultra compact set searching

by kyle (Abbot)
on Nov 20, 2006 at 19:50 UTC ( #585119=note: print w/replies, xml ) Need Help??


in reply to Ultra compact set searching

I don't know how you're doing the iterated version of and_maker, but if it's not List::Util::reduce, you might try that.
use List::Util qw( reduce ); my $result = reduce { $a & $b } @int_lists_great_and_small;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2019-12-09 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?