Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Getting the intersection of n collections.

by GrandFather (Saint)
on Oct 12, 2006 at 07:59 UTC ( [id://577772]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my @result = $lc->get_intersection;
    
    print "@result";
    
  2. or download this
    3 2
    
  3. or download this
    manual: 3 2
    listCompareF: 2 3
    ...
    listCompare   1128/s           --         -70%         -93%
    listCompareF  3822/s         239%           --         -78%
    manual       17051/s        1411%         346%           --
    
  4. or download this
    use strict;
    use warnings;
    ...
        my @result = get_intersection ([@AllArraysIHave]);
        return \@result;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-03-29 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found