Update hash_table8.hpp

Update hash_table8.hpp
This commit is contained in:
blueloveTH 2023-02-07 14:46:27 +08:00
parent fc759e8aa0
commit d178e9027c
2 changed files with 4 additions and 2 deletions

View File

@ -149,4 +149,6 @@ You can download `artifact.zip` from [Github Release](https://github.com/bluelov
## License ## License
MIT License PocketPy is licensed under the [MIT License](http://opensource.org/licenses/MIT).
PocketPy uses [emhash](https://github.com/ktprime/emhash)(MIT License) to implement Python's internal `__dict__` object. [emhash](https://github.com/ktprime/emhash) is 40% faster than `std::unordered_map`.

View File

@ -1660,7 +1660,7 @@ one-way search strategy.
#if EMH_WYHASH_HASH #if EMH_WYHASH_HASH
//#define WYHASH_CONDOM 1 //#define WYHASH_CONDOM 1
inline uint64_t wymix(uint64_t A, uint64_t B) inline static uint64_t wymix(uint64_t A, uint64_t B)
{ {
#if defined(__SIZEOF_INT128__) #if defined(__SIZEOF_INT128__)
__uint128_t r = A; r *= B; __uint128_t r = A; r *= B;