You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed issue with QuickIntervalTree where querying with a range - Query(low, high) - would cause an IndexOutOfRangeException for some lobsided trees. Thanks to @superoctave2 for reporting this issue!
Build-methods made public
DocXml added for classes and most important methods
Added constructors with capacity hint for reduced allocations when approximate number of intervals is known ahead of time
Added methods for querying ranges
Query performance of LightIntervalTree improved by a further 15% in dense benchmarks, by switching to a naive linear scan of intervals when subtree size falls to just a handful of intervals.
This release adds a type constraint on TKey, requiring TKey to implement IComparable. Adding this constraint has improved query performance by 20-30%, and seems reasonable as all your usual suspects: int, float, double, decimal etc all implement this interface.