Releases: DevAM-Tools/BKDTree
Releases · DevAM-Tools/BKDTree
3.0.0
Refactor BKDTree to support custom metrics and improve performance
- Updated MetricBKDTree and MetricKDTree to accept a metric struct implementing IDimensionalMetric for flexible distance calculations.
- Removed unnecessary delegates for dimension retrieval, replacing them with direct metric calls to reduce overhead.
- Introduced a thread-safe object pool for List<Segment> and Stack<Segment> to minimize allocations during bulk inserts.
- Enhanced Option struct for better performance and usability, including methods to retrieve values without branching.
- Added ValueEnumerator and ValueEnumerable structs for allocation-free iteration over KDTree values.
- Updated README to reflect changes in API and usage instructions for new metric-based trees.
2.0.0
-Bug fixes
-API refactoring
-Use TUnit for tests
-Update some links
v1.4.0
-Add bulk insert
v1.2.0
-Implement TryGetFirst method for BKDTree to retrieve the first element within specified limits