mph icon indicating copy to clipboard operation
mph copied to clipboard

C++20 [Minimal] Perfect hash library

Results 4 mph issues
Sort by recently updated
recently updated
newest added

in the [FAQ](https://github.com/boost-ext/mph?tab=readme-ov-file#faq) it mentions a backup policy/customization point can be setup for the lookup implementation. Do you have examples of this. Your template metaprogramming skills are way above mine,...

i'm getting a [-Wnarrowing] compilation error running the example in the godbolt link below ``` /app/raw.githubusercontent.com/qlibs/mph/main/mph:1082:37: error: narrowing conversion of '8245886547676589896' from '__int128 unsigned' to 'unsigned int' [-Wnarrowing] 1082 |...

When I tried certain inputs and did not enable -mbmi2, my mask was calculated as `163839`. The compilation crashed because the nbits calculation produced an extremely large number. And I...

Hi, @krzysztof-jusiak This is a really cool library! When reading the code I was left with 2 questions: - Is there a limitation on the string sizes that we pass...