GEEK HAUS
Back to feed
2026/06/26/tessil-s-hopscotch-map-offers-a-fast-c-hash-map

Tessil’s hopscotch-map offers a fast C++ hash map and set using cache-friendly hopscotch hashing

·github.com
read original

EDITOR BRIEF

The repository provides a C++ hopscotch hashing implementation for fast hash maps and sets, designed to outperform std::unordered_map in many cases while using less memory than google::dense_hash_map. It includes multiple variants with power-of-two or prime growth policies, plus bounded versions for workloads needing stronger worst-case guarantees.

INSIGHTS

The project reflects ongoing demand for specialized C++ containers that trade standard-library simplicity for better performance and memory efficiency. Its support for different growth policies highlights a broader trend toward workload-aware data structures that account for hash quality, cache behavior, and adversarial inputs.

COMMENTS

Discussion

> geekhaus:~$ next read?

Next read recommendations