Cat@ponder.cat to Technology@lemmy.worldEnglish · 3 days agoA young computer scientist and two colleagues show that searches within data structures called hash tables can be much faster than previously deemed possible.www.quantamagazine.orgexternal-linkmessage-square50fedilinkarrow-up1378arrow-down119
arrow-up1359arrow-down1external-linkA young computer scientist and two colleagues show that searches within data structures called hash tables can be much faster than previously deemed possible.www.quantamagazine.orgCat@ponder.cat to Technology@lemmy.worldEnglish · 3 days agomessage-square50fedilink
minus-squareOhNoMoreLemmy@lemmy.mllinkfedilinkEnglisharrow-up7·edit-211 hours agoHash tables are super efficient when they’re not nearly full. So the standard trick is just to resize them when they’re too close to capacity. The new approach is probably only going to be useful in highly memory constrained applications, where resizing isn’t an option.
minus-squaredeegeese@sopuli.xyzlinkfedilinkEnglisharrow-up10·2 days agoHash tables are used in literally everything and they always need to minimize resizing because it’s a very expensive operation. I suspect this will silently trickle into lots of things once it gets picked up by standard Python and JavaScript platforms, but that will take years.
minus-squareSekoia@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up5·2 days agoSo… databases? Especially in data centers? Still a nice boost in that case
Hash tables are super efficient when they’re not nearly full. So the standard trick is just to resize them when they’re too close to capacity.
The new approach is probably only going to be useful in highly memory constrained applications, where resizing isn’t an option.
Hash tables are used in literally everything and they always need to minimize resizing because it’s a very expensive operation.
I suspect this will silently trickle into lots of things once it gets picked up by standard Python and JavaScript platforms, but that will take years.
So… databases? Especially in data centers? Still a nice boost in that case