Classical data structures that can outperform learned indexes (2018)
Why do cuckoo hashing advertisements always sound like snake oil sales pitches?Claim: "A simple and beautiful technique that can achieve 99% occupancy and serve all lookups with just two memory accesses thanks to the power of two choices."Great, so apparently I can achieve 99% occupancy?Reality [1]: "Insertions succeed in expected constant time [...] as long as the number of keys is kept below half of the capacity of the hash table, i.e., the load factor is below 50%."Ok so never mind...[1] https://en.wikipedia.org/wiki/Cuckoo_hashing#Theory