Skip to content

Short class names, comparison benchmark, README polish - #5

Merged
kephale merged 2 commits into
mainfrom
polish-readme-benchmarks
Nov 26, 2026
Merged

kephale merged 2 commits into
mainfrom
polish-readme-benchmarks

Conversation

@kephale

@kephale kephale commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Presentation pass plus one small API addition.

  • RTree and BBoxRTree are aliases for PyRTree and PyBBoxRTree. Existing code keeps working (tracksdata imports PyRTree). Stubs cover both names.
  • python/benchmarks/benchmark_compare.py compares against scipy cKDTree and Rtree on three workloads. The README table holds one local run (Ryzen 7 PRO 5850U, Python 3.12). scipy is faster for static k-NN; rstar-python is faster for incremental inserts and box queries.
  • README: PyPI, Python, CI and license badges.
  • Python 3.14 added to the CI matrix and classifiers. Keywords and a changelog URL in pyproject.toml.

Local: 43 tests pass, mypy passes on the aliases. No Rust changes.

Not in this PR:

  • Accept float32 and integer arrays by casting. tracksdata casts to float64 before every call.
  • 1-D support by padding internally. tracksdata pads 1-D positions to 2-D itself.
  • Repo description and topics, which are set in the GitHub settings rather than in a PR.

- RTree and BBoxRTree as aliases for PyRTree and PyBBoxRTree
- benchmark_compare.py against scipy cKDTree and Rtree; results in README
- README badges and a Used by section
- Python 3.14 in CI and classifiers; keywords and changelog URL
@kephale
kephale marked this pull request as ready for review November 26, 2026 16:25
@kephale
kephale merged commit ffdfbb8 into main Nov 26, 2026
16 checks passed
@kephale
kephale deleted the polish-readme-benchmarks branch November 26, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant