Use valid keys to initialize AHasher in FixedState (#1268)

Using 0 as keys causes the hasher to get stuck
This commit is contained in:
bjorn3 2021-01-20 23:24:57 +01:00 committed by GitHub
parent ac7d2de67c
commit 7aefd727f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,10 @@ impl std::hash::BuildHasher for FixedState {
#[inline]
fn build_hasher(&self) -> AHasher {
AHasher::new_with_keys(0, 0)
AHasher::new_with_keys(
0b1001010111101110000001001100010000000011001001101011001001111000,
0b1100111101101011011110001011010100000100001111100011010011010101,
)
}
}