Renzibei

I head north because I choose to
  • Home
  • Categories
  • Archive
  • Tags
  • About

    { algorithm }

  • Hash Table Benchmark

    2026-06-13 |
    • { hashtable }
    • { benchmark }
    • { algorithm }
    /
    • { algorithm }

    This is yet another benchmark to compare different hash tables (hash maps) with different hash functions in C++, attempting to evaluate the performance of the lookup, insertion, deletion, iteration, etc. on different datasets as comprehensively as possible.

    We show the performance of hash tables with hash functions for different operations on different types of datasets of different sizes. The reader can refer to these results and choose the hash table and hash function that best match the target application.

    The benchmarks were collected in 2022–2023 (machine configurations are listed below); this writeup was compiled and published in 2026.

    Read On »
  • Hash Table Benchmark - 24 Byte String Lookup

    2026-06-13 |
    • { hashtable }
    • { benchmark }
    • { algorithm }
    /
    • { algorithm }

    The 24 byte string lookup test.

    Read On »
  • Hash Table Benchmark - 64 Byte String Lookup

    2026-06-13 |
    • { hashtable }
    • { benchmark }
    • { algorithm }
    /
    • { algorithm }

    The 64 byte string lookup test.

    Read On »
  • Hash Table Benchmark - 12 Byte String Lookup

    2026-06-13 |
    • { hashtable }
    • { benchmark }
    • { algorithm }
    /
    • { algorithm }

    The 12 byte string lookup test.

    Read On »
  • Hash Table Benchmark - Integer Iterate

    2026-06-13 |
    • { hashtable }
    • { benchmark }
    • { algorithm }
    /
    • { algorithm }

    The integer key iteration test.

    Read On »
  • Hash Table Benchmark - Integer Erase and Insert

    2026-06-13 |
    • { hashtable }
    • { benchmark }
    • { algorithm }
    /
    • { algorithm }

    The integer key erase and insert test.

    Read On »
  • Hash Table Benchmark - Analysis and Conclusion

    2026-06-13 |
    • { hashtable }
    • { benchmark }
    • { algorithm }
    /
    • { algorithm }

    A full walk-through of what the benchmark showed — across both integer and string keys, small and large values — and how to turn it into a concrete choice of hash table and hash function for a particular workload.

    Read On »
  • Hash Table Benchmark - Memory Usage and Load Factor

    2026-06-13 |
    • { hashtable }
    • { benchmark }
    • { algorithm }
    /
    • { algorithm }

    This page discusses the memory usage and load factor of hash tables.

    Read On »
  • Hash Table Benchmark - Integer Lookup Latency

    2026-06-13 |
    • { hashtable }
    • { benchmark }
    • { algorithm }
    /
    • { algorithm }

    The integer key lookup latency test.

    Read On »
  • Hash Table Benchmark - Integer Lookup Throughput

    2026-06-13 |
    • { hashtable }
    • { benchmark }
    • { algorithm }
    /
    • { algorithm }

    The integer key lookup throughput test.

    Read On »
12next »
© 2026 - Renzibei
Powered by Hexo , Theme - Icalm - Modified by renzibei - Ported From Icalm