interval-tree icon indicating copy to clipboard operation
interval-tree copied to clipboard

Small range raises stack overflow

Open yamsellem opened this issue 10 years ago • 0 comments

Changing the readme example to:

var Tree = require('interval-tree');
var itree = new Tree(300);
itree.add([22, 43, 'foo']);

Will raise a Maximum call stack size exceeded in SortedList.js:26:17. Is there something wrong with this code?

ps. [email protected]

yamsellem avatar Jul 09 '15 10:07 yamsellem