Cat@ponder.cat to Technology@lemmy.worldEnglish · 13 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-up1380arrow-down119
arrow-up1361arrow-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 · 13 days agomessage-square50fedilink
minus-squarelime!@feddit.nulinkfedilinkEnglisharrow-up3·13 days agothe biggest speedup would probably come from using proper schemas that can be efficiently parsed. but we’ve made our bed out of ad-hoc protocols.
minus-squarefrezik@midwest.sociallinkfedilinkEnglisharrow-up5·13 days agoJSON libraries are stupidly well optimized. There are binary encoding schemes that are faster and more compact, but its hard to beat JSON for text-based.
minus-squareTrailblazing Braille Taser@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up5·13 days agoEveryone prepare for your minds to be blown: Parsing Gigabytes of JSON per Second (Geoff Langdale, Daniel Lemire) https://simdjson.org/
minus-squarebarsoap@lemm.eelinkfedilinkEnglisharrow-up4·13 days agoAnd yet all that pales in comparison to using react (or whatever framework) over vanilla js. Enter McMaster-Carr.
minus-squarelime!@feddit.nulinkfedilinkEnglisharrow-up2·13 days agoyupyup, just send HTML over the wire. it’s fine.
the biggest speedup would probably come from using proper schemas that can be efficiently parsed. but we’ve made our bed out of ad-hoc protocols.
JSON libraries are stupidly well optimized. There are binary encoding schemes that are faster and more compact, but its hard to beat JSON for text-based.
Everyone prepare for your minds to be blown:
And yet all that pales in comparison to using react (or whatever framework) over vanilla js. Enter McMaster-Carr.
yupyup, just send HTML over the wire. it’s fine.