hashset.hpp

This commit is contained in:
Antonio SJ Musumeci 2025-01-11 19:25:23 -06:00
parent 9633cea1fd
commit e9d653d8c5

View file

@ -29,7 +29,7 @@ vt_hash_const_string(const char *key_)
{
uint64_t hash = 0xcbf29ce484222325ull;
while( *key_ )
while(*key_)
hash = ((const unsigned char)*key_++ ^ hash) * 0x100000001b3ull;
return hash;