Clarify identical hash() return values due to collisions
This commit is contained in:
@ -98,7 +98,8 @@
|
||||
<method name="hash" qualifiers="const">
|
||||
<return type="int" />
|
||||
<description>
|
||||
Returns the hash value of this [Callable]'s object.
|
||||
Returns the 32-bit hash value of this [Callable]'s object.
|
||||
[b]Note:[/b] [Callable]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 callables are equal, because different callables can have identical hash values due to hash collisions. The engine uses a 32-bit hash algorithm for [method hash].
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_custom" qualifiers="const">
|
||||
|
||||
Reference in New Issue
Block a user