space 0.10.1

A library providing abstractions for spatial datastructures and search
Documentation

space

Discord Crates.io MIT/Apache docs.rs LoC

A library providing abstractions for spatial datastructures and search

If you use a linear algebra or SIMD library and would like to have the [MetricPoint] trait implemented on its types natively, please raise an issue on that library and they can provide an appropriate implementation for each distance type. It should be implemented on L1<Point>, L2<Point>, etc. This policy does not apply if SIMD types are created in the standard library.

Benchmarks

To run the benchmarks, use the following command:

RUSTFLAGS="-C target-cpu=native" cargo bench --features simd

This ensures processor extensions are used. Due to this issue the SIMD feature must be enabled. Cargo offers no way to automatically bring the SIMD feature in for the benchmark, and thus it must be passed at the command line.