mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
up
Update hash_table8.hpp Update hash_table8.hpp
This commit is contained in:
parent
fc759e8aa0
commit
d178e9027c
@ -149,4 +149,6 @@ You can download `artifact.zip` from [Github Release](https://github.com/bluelov
|
||||
|
||||
## 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`.
|
||||
|
@ -1660,7 +1660,7 @@ one-way search strategy.
|
||||
|
||||
#if EMH_WYHASH_HASH
|
||||
//#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__)
|
||||
__uint128_t r = A; r *= B;
|
||||
|
Loading…
x
Reference in New Issue
Block a user