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
L2<Point>, etc. This policy does not apply if SIMD types are created in the standard library.
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.