Open
Description
Would it be possible to make use of the interval tree to efficiently return all intervals which contain a given interval.
So "tree.covering(from, to)" would return all intervals i
in the tree for which:
i.start <= from and i.end >= to
This can be achieved indirectly in various ways, but depending on how intervals are present in the tree, the overhead may perhaps be bigger than if using the interval tree directly?