hwt

Crates.iohwt
lib.rshwt
version0.4.2
sourcesrc
created_at2019-03-04 16:24:31.106846
updated_at2019-04-29 04:58:58.440085
descriptionHamming Weight Tree for finding neighbors in Hamming space
homepage
repositoryhttps://github.com/vadixidav/hwt
max_upload_size
id118666
size97,113
Geordon Worley (vadixidav)

documentation

https://docs.rs/hwt/

README

hwt

Hamming Weight Tree from the paper Online Nearest Neighbor Search in Hamming Space

To understand how the data structure works, please see the docs.

Benchmarks

Most recent benchmark for 1-NN:

1-NN Benchmark

You can find benchmark output here.

If you would like to run the benchmarks yourself, just run cargo bench at the command line. I recommend using RUSTFLAGS='-C target-cpu=native' cargo bench instead since both linear search and this tree are both significantly faster when using modern instructions.

Commit count: 147

cargo fmt