Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: fastest way to compare two arrays

by repellent (Priest)
on Apr 16, 2011 at 07:16 UTC ( #899738=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $range = Set::IntSpan::Fast->new('50000-65535');
    my $ports = Set::IntSpan::Fast->new('50000-51545,51549,51555-51999');
    ...
    my $unused_in_range = $range->intersection($unused);
    
    my $first_unused = ($unused_in_range->iterate_runs->())[0];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://899738]
help
Chatterbox?
[stevieb]: w00t! My Pi software(s) now have their own built-in SPI bus communication methods. About another week and I'll have everything completed!

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2017-01-20 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (179 votes). Check out past polls.