shinout / interval-tree2

interval tree in CoffeeScript, available in any JS runtime
MIT License
34 stars 15 forks source link

rangesearch failure #9

Open jedierikb opened 8 years ago

jedierikb commented 8 years ago

Please see the gist here: https://gist.github.com/jedierikb/2b05cde2f51f65fc8e46

In the gist, I create an intervaltree with 1000 intervals. Then I do two rangesearches on that tree. There are some results missing from one of the searches where I think results should be returned.

For example: {id:"testz_903" start: 2244, end: 2316} is returned on a rangeSearch of (2272, 2273) but not (2273, 2274)