Skip to content

get RangeError when adding interval with 1073741824 / 1073741825 #8

@brycehanscomb

Description

@brycehanscomb

The following line produces a RangeError:

new IntervalTree(1).add([1073741824, 1073741825, 'hello']);

The exact error in Chrome is:

Uncaught RangeError: Maximum call stack size exceeded - SortedList.js:26

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