AlgorithmsSearching & hashingEdit on GitHubEdit history
Swiss Table
SwissTable, absl::flat_hash_map2018
An open-addressing hash table that keeps a one-byte control byte holding part of the hash for each slot and compares 16 slots at once with SIMD. It probes group by group with quadratic probing and is implemented as Abseil's flat_hash_map and related containers.
Origin
Sam Benzaquen, Alkis Evlogimenos, Matt Kulukundis, Roman Perepelitsa (2018). Swiss Tables and absl::Hash. Abseil Blog 2018.abseil.io/blog/20180927-swisstablesThe same developers first presented it in a CppCon 2017 talk; this post announced its open-source release in Abseil in 2018.
Lineage
Algorithms 4 · Relations 3
Parent algorithms
Where it came from
Quadratic Probing1968
Author statementAbseil's source describes the Swiss table as an open-addressing hash table with quadratic probing, using a triangular probe sequence over groups. — github.com/abseil/abseil-cpp/blob/HEAD/absl/container/internal/raw_hash_set.h
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…