Skip to content

Instantly share code, notes, and snippets.

@scottgw
scottgw / neighbour_aatch_pair.rs
Created June 21, 2016 07:00
A combination of aatch and the PairHash improvements, minus the explicit size initialization of the sets.
use std::collections::HashSet;
use std::hash::BuildHasherDefault;
use std::default::Default;
use std::hash::Hasher;
pub struct FnvHasher(u64);
impl Default for FnvHasher {
#[inline]