strax icon indicating copy to clipboard operation
strax copied to clipboard

lazily-build IntervalTree indexes for data when overlap queries are made

Open jmosbacher opened this issue 3 years ago • 0 comments

Whats the problem?

Overlap queries using brute force algorithms can be expensive.

Proposed solution

It may be beneficial to build IntervalTrees from the data types that are queried for overlaps. Pandas has a cython implementation of an IntervalTree thats we can easily use since we already have pandas as a dependency.

jmosbacher avatar Apr 27 '21 20:04 jmosbacher