#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug)]
pub struct Hasher(pub u64);
impl Hasher {
pub const fn new() -> Self {
Self(5381)
}
pub const fn write(&mut self, bytes: &[u8]) {
let mut i = 0;
while i < bytes.len() {
self.0 = self.0.wrapping_mul(33) ^ bytes[i] as u64;
i += 1;
}
}
}