“Data structures called hash tables”? Editor thinks this is some arcane little-used data technology.
Hashes are used in literally every programming language that’s worth using.
Submitted 1 year ago by Cat@ponder.cat to technology@lemmy.zip
https://www.quantamagazine.org/undergraduate-upends-a-40-year-old-data-science-conjecture-20250210/
“Data structures called hash tables”? Editor thinks this is some arcane little-used data technology.
Hashes are used in literally every programming language that’s worth using.
What are you on about? The first paragraph says hash tables are “widely used” and the second says they are “common”.
“Data structures called hash tables” seems to just be a factual statement of what we’re dealing with, especially for people who are not programmers.
It just feels bizarre. You wouldn’t say something like “a car part called a catalytic converter”.
Some of my best, most useful programs sort data from disparate sources into enormous Hash-Of-Hash structures to produce extremely insightful reports. And I wrote the first version 25 years ago.
All we have to do is rename b-trees to “hash tables” and database lookup times will be changed forever.
Oh yes, the new revolutionary data structure called a hash table
Did you read the article? The claim is that they have invented a new kind of hash table that has vastly improved algorithmic complexity compared to standard hash tables.
I haven’t read the paper yet, but if what the article claims is true, it could be revolutionary in computer science and open up a ton of doors.
This is very cool news. Would be nice if it had some details on the implementation though
Agreed, I figured they’d have at least some psuedocode but alas
For those in a rush:
Initial paper outlining theorem (2021):
Paper that demonstrates and proves its validity (2025):
I tried a quick search, but I’m not seeing any public implementations that specifically mention or cite ‘Krapavin’ or ‘Tiny Pointers’ anywhere.
I need to look more into this, I would’ve thought query time on hash tables was already constant.
Only if there’s no collisions. With lots of collisions it’s far from constant.
xtrapoletariat@beehaw.org 1 year ago
This is quite cool. They shattered a 40 year-old conjecture on map-insertion speed boundaries. To understand the practical impact I have to read the paper, but given their abundance in CS the potential is huge.