Undergrad accidentally shreds 40-year hash table gospel

May Be Interested In:Unsung mid’s rise, star’s nosedive: Every club’s most improved and biggest faller — Champion Index


It isn’t often that a decades-old assumption underpinning modern technology is overturned, but a recent paper based on the work of an undergraduate and his two co-authors has done just that.

That assumption refers to hash tables, and a conjecture based on work from the 1980s regarding the optimal way to store and query the data in them. The student, formerly of Rutgers University in New Jersey, came up with a new kind of hash table that is faster and uses fewer steps to find specific elements, all while being unaware of that conjecture.

As detailed by Quanta Magazine, Andrew Krapivin, now a graduate at the University of Cambridge, is one of the co-authors on a paper, “Optimal Bounds for Open Addressing Without Reordering,” published last month that sets out how his hash table can find elements faster than was previously considered possible.

Hash tables have been around since the 1950s, and are an example of a key-value store where a hash function is used to generate the index for the data value based on the key itself.

Previously, a historic paper authored by computer scientist Andrew Yao, “Uniform hashing is optimal,” had asserted that the best way of finding an individual element or an empty location in a hash table is simply to access potential locations randomly, an approach known as uniform probing.

The new paper states that despite its simplicity, Yao’s conjecture had never been settled.

There was a way to get around this involving the insertion algorithm carrying out a reordering process after insertion, i.e. to optimize the placement of elements within the hash table. But it wasn’t clear if this was a necessary step in order to speed things up.

The 2025 paper claims that even without reordering elements over time, it is possible to construct a hash table using Krapivin’s method that achieves far better probe complexity – the average number of locations that need to be checked (probed) to find a specific key – than previous hash table methods.

The authors of the paper say that they refer to their insertion strategy as “elastic hashing” because of the way that the algorithm often probes much further down the table before snapping back to the position it ends up using.

According to Quanta, the paper demonstrates that for Krapivin’s hash table method, the time required for worst-case queries and insertions is proportional to (log x)2, which is much faster than the previously assumed linear time complexity in x. Here, x is a number that describes how close the hash table is to being completely full, where x = 100 means the table is 99 percent full, and x = 1,000 means the table is 99.9 percent full.

Krapivin is said to have come up with this method after reading a paper titled “Tiny Pointers,” co-authored by his professor at Rutgers, and exploring how to further miniaturize pointers so they used even less memory space. ®

share Share facebook pinterest whatsapp x print

Similar Content

Details on new Los Angeles-area fires
Details on new Los Angeles-area fires
'Nowhere to hide.'  How Apple and others in Silicon Valley are bracing for Trump tariffs
‘Nowhere to hide.’ How Apple and others in Silicon Valley are bracing for Trump tariffs
Transfer news LIVE! Sesko sends Arsenal message; Chelsea offered Real Madrid swap
Transfer news LIVE! Sesko sends Arsenal message; Chelsea offered Real Madrid swap
SUMA Bear Pit
Municipal leaders grill provincial cabinet as SUMA convention wraps up
In a petition filed with the New York Supreme Court on Friday, St Clair, 26, says the Tesla CEO and DOGE Chief has had no involvement in the upbringing of their son
Elon Musk’s ‘baby mama’ Ashley St. Clair sues him for custody of son and demands he take paternity test
Mercury's north pole seen in dazzling new images as spacecraft buzzes planet for a close-up photo shoot
Mercury’s north pole seen in dazzling new images as spacecraft buzzes planet for a close-up photo shoot
Breaking Barriers: The Stories that Move Us | © 2025 | Daily News