Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Efficient algorithm needed to split Set::IntSpan objects

by blokhead (Monsignor)
on Sep 23, 2009 at 14:00 UTC ( #796975=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    00112233222000
    
  2. or download this
    (3,1), (5,2), (7,3), (9,2), (12,0)
    
  3. or download this
    my @intervals = ([3,11], [5,8], [7,11]);
    for (@intervals) {
    ...
        $total += $delta{$_};
        push @points, [$_, $total];
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2020-11-25 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?