IntervalTree should be able to support extending all the intervals in the tree by some fixed amount. That sort of operation wouldn't require any reordering, so should be very fast.
This is often useful if have some interesting intervals and want to find things that overlap, or are nearby.
IntervalTree
should be able to support extending all the intervals in the tree by some fixed amount. That sort of operation wouldn't require any reordering, so should be very fast.This is often useful if have some interesting intervals and want to find things that overlap, or are nearby.