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

have iteration hashtable api? #2

Open
jarwin123 opened this issue Nov 11, 2017 · 2 comments
Open

have iteration hashtable api? #2

jarwin123 opened this issue Nov 11, 2017 · 2 comments

Comments

@jarwin123
Copy link

if i want to iteration the hashtables all element?how can i do it?

@jarwin123
Copy link
Author

i read your some code,i cann’t understand how to handle hash collision? if the frequency of collison is high, what potential problem is there?

@divfor
Copy link
Owner

divfor commented Apr 12, 2018

google's hash function -- cith_hash_128, has very good hash value output on your keys if they are not too short. based on this, the bucket order of high_load_factor_hash_table -> low_load_factor_hash_table -> very_small_full_search_array can work well.

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