Correct comment

This commit is contained in:
Noah committed 2020-03-01 14:41:51 -06:00
1 parent 27c1ecf4b7
commit 1459ed6ae9
1 file changed
+3 -1
+3 -1
View File
@@ -125,7 +125,9 @@ impl PyHashInfo {
imag: IMAG,
algorithm: "siphash13",
hash_bits: std::mem::size_of::<PyHash>() * 8,
// TODO: find out what seed_bits should actually be
// internally hash_map::DefaultHasher uses 2 u64s as the seed, but
// that's not guaranteed to be consistent across Rust releases
// TODO: use something like the siphasher crate as our hash algorithm
seed_bits: std::mem::size_of::<PyHash>() * 2 * 8,
};
}