News for hackers. Stuff that matters.
Re:Advanced techniques to implement fast hash tables by rurban on Thursday October 25, 2018 @03:45AM (#18299203)
Python, ruby, php hash tables are roughly 2x slower. perl5's being the worst maybe 4x slower.

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.

Re:Advanced techniques to implement fast hash tables by sametmax on Thursday October 25, 2018 @08:26AM (#18300336)
Does it preserves insertion order ?
Re:Advanced techniques to implement fast hash tables by rurban on Thursday October 25, 2018 @11:53AM (#18301861)
Of course not. hash table iteration should assume random order, otherwise it's a security risk or performance nightmare.