kdtree implementation for rust.
Go to file
2016-12-28 12:56:21 +01:00
src Kdtree now accepts slice instead of vec. 2016-12-28 12:37:42 +01:00
tests Kdtree now accepts slice instead of vec. 2016-12-28 12:37:42 +01:00
.gitignore Initial push to remote 2016-12-23 11:11:08 +01:00
.travis.yml Added travis.yml 2016-12-27 00:17:23 +01:00
Cargo.toml name is now kdtree_rust 2016-12-28 12:56:21 +01:00
LICENSE Initial commit 2016-12-23 11:07:50 +01:00
README.md Update README.md 2016-12-27 02:54:45 +01:00

kdtree-rust Build Status

kdtree implementation for rust.

Implementation uses sliding midpoint variation of the tree. More Info here

##Benchmark cargo bench using travis :)

running 3 tests
test bench_creating_1000_000_node_tree          ... bench: 275,155,622 ns/iter (+/- 32,713,321)
test bench_creating_1000_node_tree              ... bench:     121,314 ns/iter (+/- 1,977)
test bench_single_loop_times_for_1000_node_tree ... bench:         162 ns/iter (+/- 76)
test result: ok. 0 passed; 0 failed; 0 ignored; 3 measured

~275ms to create a 1000_000 node tree. << this bench is now disabled.
~120us to create a 1000 node tree.
160ns to query the tree.

##License The Unlicense