1 2 3 4 5 6 7 8 9 10 11 12 13
use gxhash::*; use std::hint::black_box; fn main() { let data = b"Hello, world!"; let hash = black_box(gxhash(black_box(data))); println!("Hash: {}", hash); } #[inline(never)] fn gxhash(input: &[u8]) -> u64 { gxhash64(input, 42) }