-
Notifications
You must be signed in to change notification settings - Fork 3
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
a good design #1
Comments
Interesting, thanks for taking the time to add this to your benchmark. I have not encountered any hanging in my own tests, but if you can provide the operation and kind of data that makes it hang, I would love to fix any bugs I may have missed. As a side note, I noticed you're using |
qc-hash is slow in insert-erase case. (ex https://martin.ankerl.com/2019/04/01/hashmap-benchmarks-03-03-result-RandomInsertErase/), you can test and reproduce https://github.com/ktprime/emhash/blob/master/bench/martin_bench.cpp (case 6 bench_insert, which is copyed from martin bench) how to build my bench on bench dir or my bench can choose 6 hash functions by set FIB_HASH=(1-6) in build cmd.
|
Thanks for the feedback! That's not a performance case I had considered. When I get some time I'll expand my benchmarking and decide whether that case is worth the increased complexity of a more sophisticated probing strategy, like the one you've come up with |
hi,
I have added your qc-hash into my benchmark (https://github.com/ktprime/emhash/blob/master/bench/ebench.cpp),
some cases qc-hash is very fast but others quite slow. and it can not run(hanged) and martin bench(martin_bench.cpp).
can you fix the issuse?
I add my owern emhash7/emhash5 into your bench file benchmark.cpp(https://github.com/ktprime/emhash/blob/master/bench/qbench.cpp), it's a good benchmark.
The text was updated successfully, but these errors were encountered: