A benchmark for hash tables and hash functions in C++, evaluate on different data as comprehensively as possible (by renzibei)

Hashtable-bench Alternatives

Similar projects and alternatives to hashtable-bench

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better hashtable-bench alternative or higher similarity.

hashtable-bench reviews and mentions

Posts with mentions or reviews of hashtable-bench. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-16.
  • Updating map_benchmarks: Send your hashmaps!
    13 projects | /r/cpp | 16 Jun 2022
    I believe that when the number of elements is larger than 4 (a rough estimation), the associative linear table won't be faster than ska::flat_hash_map or fph-table with the identity hash function. If you look at the benchmark results, you will find that the average lookup time may well be less than 2 nanoseconds when item number is smaller than one thousand on morden CPUs. For these two hash tables, there are only about ten instructions in the critical path of lookup. And this should be faster than the linear search in a associative table, where there are a lot of branches and comparing instructions. However, you should benchmark it youself to get the real conclusion. This is just a simple analysis on paper from mine. By the way, the associative table can be faster if it is implemented with hardware circuits or SIMD instructions.


Basic hashtable-bench repo stats
7 months ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives