Skip to content

Commit b0db500

Browse files
authored
Hash values are not stable across different Julia invokations (#48408)
1 parent a632def commit b0db500

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

base/hashing.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Typically, any type that implements `hash` should also implement its own [`==`](
1515
(operator `-`) should also implement [`widen`](@ref), which is required to hash
1616
values inside heterogeneous arrays.
1717
18+
The hash value may change when a new Julia process is started.
19+
1820
```jldoctest
1921
julia> a = hash(10)
2022
0x95ea2955abd45275

0 commit comments

Comments
 (0)