mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Correct comment
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -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,
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user