pub fn hamming_distance_str(source: &str, target: &str) -> usize
Calculate Hamming distance of two UTF-8 encoded strings.