@[email protected] to [email protected]English • 3 months 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-square38fedilinkarrow-up1304arrow-down114cross-posted to: [email protected][email protected][email protected][email protected][email protected]
arrow-up1290arrow-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.org@[email protected] to [email protected]English • 3 months agomessage-square38fedilinkcross-posted to: [email protected][email protected][email protected][email protected][email protected]
minus-squarelime!linkfedilinkEnglish2•3 months 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-square@[email protected]linkfedilinkEnglish3•3 months 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 TaserlinkfedilinkEnglish3•3 months agoEveryone prepare for your minds to be blown: Parsing Gigabytes of JSON per Second (Geoff Langdale, Daniel Lemire) https://simdjson.org/
minus-square@[email protected]linkfedilinkEnglish3•3 months agoAnd yet all that pales in comparison to using react (or whatever framework) over vanilla js. Enter McMaster-Carr.
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.