qlibs / mph

C++20 [Minimal] Static Perfect Hash library
176 stars 9 forks source link

[mph] fix mph::to undefined behavior #11

Closed jason7708 closed 1 month ago

jason7708 commented 1 month ago

details

kris-jusiak commented 1 month ago

thanks @jason7708, one addition which I was planning to add is to use avx512 mask load when available which is not affected by the page cross boundary when mask is not exceeding it, but likely not a common scenario that one would have avx512 but not bmi2 :thinking: