Docs.rs
hamming_rs-0.2.24
hamming_rs 0.2.24
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
JeWaVe
Dependencies
log ^0.4.26
normal
criterion ^0.5.1
dev
hamming ^0.1.3
dev
rand ^0.9.0
dev
strsim ^0.11.1
dev
Versions
54.55%
of the crate is documented
Platform
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
hamming_
rs
0.2.24
All Items
Crate Items
Modules
Functions
Crate
hamming_rs
Copy item path
Source
Modules
§
lib_
avx2
avx2 target specific functions
utils
export utilies (such as cross platform aligned_alloc)
Functions
§
distance
Computes hamming distance
Assumes x and y have same memory alignment
Uses highly optimized avx2 version if available
fallback on
distance_naive
if
x
and
y
have different alignment or if avx2 features are not available
distance_
naive
Computes hamming distance (naive version) copied from
hamming bitwise fast crate
as author agreed
weight
Computes hamming weight
Uses highly optimized avx2 version if available
weight_
naive
computes hamming weight (naive version)