in reply to Efficient algorithm needed to split Set::IntSpan objects
Of course your implementation has to loop once with ++ and -- over the spans. After sorting by keys the output, i. e. 're-integration', becomes trivial(++ and -- of a counter). A table of x and y values (only when there are changes) might be a better output of your box plot.3 => 1 11 => -1
|
|---|