Earlier quoted context omitted.
Of course. Notable libraries implementing quadratic probing all use addition instead of multiplication. The example in the blog post is just for demonstration purpose.
>addition instead of multiplication What is the advantage of this?
Advanced techniques to implement fast hash tables
11–20 of 22 posts
Re: Advanced techniques to implement fast hash tables
#12Re: Advanced techniques to implement fast hash tables
#13The author of this post wrote klib/khash, and uses it in his very popular cpu-intensive bioinformatics programs such as bwa (short read alignment against the human ref genome). I've been learning rust recently. As a learning exercise, I compared the robin-hood hashing of std::collections::HashMap in rust to his klib/khash he mentions in this article , and then tried various hash functions to try and match his perform…
Re: Advanced techniques to implement fast hash tables
#14Re: Advanced techniques to implement fast hash tables
#15The author of this post wrote klib/khash, and uses it in his very popular cpu-intensive bioinformatics programs such as bwa (short read alignment against the human ref genome). I've been learning rust recently. As a learning exercise, I compared the robin-hood hashing of std::collections::HashMap in rust to his klib/khash he mentions in this article , and then tried various hash functions to try and match his perform…
How does that compare to the dict implementation of Python 3.6 ? It's supposed to be damned fast but I don't have the skills to make such comparisons.
Re: Advanced techniques to implement fast hash tables
#16I love this stuff but how many of us really get to (have the privilege) to doing this kind of work?
Re: Advanced techniques to implement fast hash tables
#17Re: Advanced techniques to implement fast hash tables
#18Re: Advanced techniques to implement fast hash tables
#19I love this stuff but how many of us really get to (have the privilege) to doing this kind of work?
That may mean wanting something else less.
If that's not acceptable, they didn't want to.
And that's fine.
Re: Advanced techniques to implement fast hash tables
#20The author of this post wrote klib/khash, and uses it in his very popular cpu-intensive bioinformatics programs such as bwa (short read alignment against the human ref genome). I've been learning rust recently. As a learning exercise, I compared the robin-hood hashing of std::collections::HashMap in rust to his klib/khash he mentions in this article , and then tried various hash functions to try and match his perform…
How does that compare to the dict implementation of Python 3.6 ? It's supposed to be damned fast but I don't have the skills to make such comparisons.
Damn fast is only relative. It's damn fast compared to the previous implementations. Wikipedia even dares to say that the worst hash tables of all, perl5, is one of the very best. Bias all over.
SIMD optimized hash tables, such as the Swiss tables tricks have the potential to be much faster than khash. And khash is not cache oblivious at all, with its double hashing scheme.