Cat@ponder.catdeleted by creator to Technology@lemmy.worldEnglish · 2 years 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-square51linkfedilinkarrow-up1377arrow-down119cross-posted to: technology@lemmy.ziphackernews@lemmy.bestiver.se
arrow-up1358arrow-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.catdeleted by creator to Technology@lemmy.worldEnglish · 2 years agomessage-square51linkfedilinkcross-posted to: technology@lemmy.ziphackernews@lemmy.bestiver.se
minus-squareOhNoMoreLemmy@lemmy.mllinkfedilinkEnglisharrow-up7·edit-22 years 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 years 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 years 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