Skip to content
Discussion options

You must be logged in to vote

You are instantiating the hash map correctly. The is because phmap internally add some mixing to the computed hash value to improves the distribution if the hash function is not optimal. You can disable it by defining the preprocessor variable PHMAP_DISABLE_MIX=1.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ashsaki
Comment options

@greg7mdp
Comment options

Answer selected by ashsaki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants