mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-13 07:32:23 -07:00
revert hasher
This commit is contained in:
committed by
Ryan Fleury
parent
98a05728b3
commit
763bb57459
@@ -2839,10 +2839,7 @@ str8_is_before_case_sensitive(const void *a, const void *b)
|
||||
|
||||
internal U64
|
||||
u64_hash_from_seed_str8(U64 seed, String8 string)
|
||||
{
|
||||
XXH3_state_t hasher; XXH3_64bits_reset_withSeed(&hasher, seed);
|
||||
XXH3_64bits_update(&hasher, &string.size, sizeof(string.size));
|
||||
XXH3_64bits_update(&hasher, string.str, string.size);
|
||||
{
|
||||
U64 result = XXH3_64bits_withSeed(string.str, string.size, seed);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user