diff options
Diffstat (limited to 'absl/hash/hash.h')
-rw-r--r-- | absl/hash/hash.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/absl/hash/hash.h b/absl/hash/hash.h index c0ede35ad523..339b685ffd20 100644 --- a/absl/hash/hash.h +++ b/absl/hash/hash.h @@ -36,6 +36,10 @@ // framework by simply combining its state with the state of known, hashable // types. Hashing of that combined state is separately done by `absl::Hash`. // +// One should assume that a hash algorithm is chosen randomly at the start of +// each process. E.g., absl::Hash<int>()(9) in one process and +// absl::Hash<int>()(9) in another process are likely to differ. +// // Example: // // // Suppose we have a class `Circle` for which we want to add hashing |