Function hamming_rs::weight_naive

source ·
pub fn weight_naive(x: &[u8]) -> u64
Expand description

computes hamming weight (naive version)