Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal Hash Function has generated duplicate keys #7

Open
KeithYue opened this issue Jun 11, 2018 · 1 comment
Open

Minimal Hash Function has generated duplicate keys #7

KeithYue opened this issue Jun 11, 2018 · 1 comment

Comments

@KeithYue
Copy link

I use c++ and the phf struct, in my program, I use phf multiple times to generate minimal functions for different arrays.
However, there exist duplicate keys in the generated functions.

screen shot 2018-06-11 at 5 07 02 pm

I can ensure the array is unique.

What's the problem?

@wahern
Copy link
Owner

wahern commented Feb 14, 2019

Difficult to say without more context. Were you using std::string?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants