Modules§
- avx2 target specific functions
- export utilies (such as cross platform aligned_alloc)
Functions§
- Computes hamming distance
Assumes x and y have same memory alignment
Uses highly optimized avx2 version if available
fallback on distance_naive ifxandyhave different alignment or if avx2 features are not available - Computes hamming distance (naive version) copied from hamming bitwise fast crate as author agreed
- Computes hamming weight
Uses highly optimized avx2 version if available - computes hamming weight (naive version)