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

Improving/Measure performance of hashmap #42

Open
EinfachAndy opened this issue Apr 19, 2023 · 2 comments
Open

Improving/Measure performance of hashmap #42

EinfachAndy opened this issue Apr 19, 2023 · 2 comments

Comments

@EinfachAndy
Copy link

EinfachAndy commented Apr 19, 2023

There exists different algorithm to handle collisions for the linear probing strategy. One interesting an practicable way is the Robin Hood hashing.

good illustration:
https://programming.guide/robin-hood-hashing.html

c++ implementation:
https://github.com/Tessil/robin-map/blob/master/include/tsl/robin_hash.h

I created a pull request as a first draft: #41

What do you think about such performance issues? It is still an open task to measure it. What do you think about to create a performance measure tooling like: https://tessil.github.io/2016/08/29/benchmark-hopscotch-map.html in golang? Or do you know good tools?

@ktprime
Copy link

ktprime commented Apr 22, 2023

@EinfachAndy
Copy link
Author

I created a separate repository for golang hashmap benchmark shootouts.

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