Function pihash::get_hamming_distance [] [src]

pub fn get_hamming_distance(hash1: u64, hash2: u64) -> u64

Get the Hamming Distance between two hashes. Represents the absolute difference between two numbers.