Repository navigation
2.1.0 - Rust Object Collection
- Major query speedup for
QuadTreeObjectsandRectQuadTreeObjects: the Rust core can now gather items/objects directly from the ObjStore, reducing the amount of Python list indexing. - The pyqtree drop-in shim gets the same faster query path, so existing pyqtree code benefits immediately.
Speed-Up Example
Configuration
- Points: 500,000
- Queries: 500
- Repeats: 1
Results
| Variant | Build | Query | Total |
|---|---|---|---|
| QuadTreeObjects (Before) | 0.668 | 1.783 | 2.451 |
| QuadTreeObjects (After) | 0.659 | 0.832 | 1.492 |
Query time dropped by more than 50%!
Full Changelog: 2.0.4...2.1.0