ITADN

Interval trees

#511Opendabrahams 创建于 2025-08-27
enhancement
D
dabrahamscommented
These are useful: https://en.wikipedia.org/wiki/Interval_tree There's some overlap with RangeSet. I'd want interval sets/dictionaries as first-class components, but you could get better complexity bounds by switching to interval tree representation when RangeSets get large (for non-overlapping ranges).
0 条评论