diff --git a/README.md b/README.md index 1660716b..1fdb1448 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/src/hash_table8.hpp b/src/hash_table8.hpp index eb609cf0..447de02a 100644 --- a/src/hash_table8.hpp +++ b/src/hash_table8.hpp @@ -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;