Cat@ponder.cat to Technology@lemmy.worldEnglish · 23 小时前A 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-square39fedilinkarrow-up1302arrow-down114cross-posted to: [email protected][email protected]
arrow-up1288arrow-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 · 23 小时前message-square39fedilinkcross-posted to: [email protected][email protected]
minus-squareOhNoMoreLemmy@lemmy.mllinkfedilinkEnglisharrow-up5·20 小时前Hash trees 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-up5·14 小时前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.
minus-squareSekoia@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up3·18 小时前So… databases? Especially in data centers? Still a nice boost in that case
Hash trees 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