Skip to content

Small range raises stack overflow #12

Open
@yamsellem

Description

@yamsellem

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions