zhangfengcdt opened a new pull request, #169:
URL: https://github.com/apache/sedona-db/pull/169
Optimizes KNN join performance by implementing a lock-free shared geometry
cache that eliminates redundant WKB-to-geometry conversions across multiple
queries.
Changes:
- Use the new indexed distance metric and adapter pattern
- Replace per-query geometry cache with shared
`Vec<OnceCell<Geometry<f64>>>`
- Use atomic operations for thread-safe lazy geometry initialization
- Simplify memory tracking using WKB buffer size as proxy
NOTE:
This is PR is pending for the refactor changes be merged:
https://github.com/wherobots/geo-index/pull/6
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]