Skip to content

Commit 7d84c53

Browse files
authored
Clarify objectid doc (#57662)
1 parent bbcdc0f commit 7d84c53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

base/runtime_internals.jl

+2-1
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,8 @@ isbits(@nospecialize x) = isbitstype(typeof(x))
832832
"""
833833
objectid(x) -> UInt
834834
835-
Get a hash value for `x` based on object identity.
835+
Get a hash value for `x` based on object identity. This value is not unique nor
836+
stable between Julia processes or versions.
836837
837838
If `x === y` then `objectid(x) == objectid(y)`, and usually when `x !== y`, `objectid(x) != objectid(y)`.
838839

0 commit comments

Comments
 (0)