mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Clarify identical hash() return values due to collisions
(cherry picked from commit 08541fe11d)
This commit is contained in:
committed by
Rémi Verschelde
parent
f911ec589d
commit
9f020ec777
@@ -338,7 +338,8 @@
|
||||
<method name="hash">
|
||||
<return type="int" />
|
||||
<description>
|
||||
Hashes the string and returns a 32-bit integer.
|
||||
Returns the 32-bit hash value representing the string's contents.
|
||||
[b]Note:[/b] [String]s with equal content will always produce identical hash values. However, the reverse is not true. Returning identical hash values does [i]not[/i] imply the strings are equal, because different strings can have identical hash values due to hash collisions.
|
||||
</description>
|
||||
</method>
|
||||
<method name="hex_to_int">
|
||||
|
||||
Reference in New Issue
Block a user