Swissing a table

35 points by carlana


ChrisDenton

This year I chose to investigate “Swiss tables”, the new hash table idea behind recent improvements to Go’s maps.

New idea? Hm, is this different from the old C++ swiss table? https://github.com/abseil/abseil-cpp/blob/master/absl/container/internal/raw_hash_set.h (circa 2018)

marginalia

Hash tables, when they work well, work very well and are kinda hard to beat in a decisive manner.

I think in general alternatives would probably do well to focus on the areas where hash tables are weak, which is mostly when you have to grow or resize the table.