展示HN:Spart – 一个用于快速空间搜索的Rust库,带有Python绑定
大家好,
我制作了一个用于快速空间搜索的开源库,名为 Spart,使用 Rust 编写。
目前它提供以下功能:
- 五种树结构实现:四叉树、八叉树、Kd 树、R 树和 R* 树
- Python 绑定(在 PyPI 上名为 `pyspart`)
- 快速的 k 最近邻(kNN)和半径搜索
- 支持批量数据加载以提高树的构建效率
项目的 GitHub 仓库: [https://github.com/habedi/spart](https://github.com/habedi/spart)
查看原文
Hi everyone,<p>I've made an open-source library for fast spatial search in Rust.<p>It's called Spart, and it currently provides the following features:<p>- Five tree implementations: Quadtree, Octree, Kd-tree, R-tree, and R*-tree<p>- Python bindings (`pyspart` on PyPI)<p>- Fast k-nearest neighbor (kNN) and radius search<p>- Bulk data loading for efficient tree construction<p>Project's GitHub repo: <a href="https://github.com/habedi/spart" rel="nofollow">https://github.com/habedi/spart</a>