Clean up Hash Functions
Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934 * Clean up usage of murmur3 * Fixed usages of binary murmur3 on floats (this is invalid) * Changed DJB2 to use xor (which seems to be better)
This commit is contained in:
@ -66,9 +66,8 @@ bool ManagedCallable::compare_less(const CallableCustom *p_a, const CallableCust
|
||||
}
|
||||
|
||||
uint32_t ManagedCallable::hash() const {
|
||||
// hmm
|
||||
uint32_t hash = delegate_invoke->get_name().hash();
|
||||
return hash_djb2_one_64(delegate_handle.handle, hash);
|
||||
return hash_murmur3_one_64(delegate_handle.handle, hash);
|
||||
}
|
||||
|
||||
String ManagedCallable::get_as_text() const {
|
||||
|
||||
Reference in New Issue
Block a user