3 ms·
You can go pretty far processing one byte at a time in hardware. You just keep making the pipeline deeper and pushing the frequency. And then to combat dependen
by kingstnap 1y ago
You can go pretty far processing one byte at a time in hardware. You just keep making the pipeline deeper and pushing the frequency. And then to combat dependent parsing you add speculative execution to avoid bubbles.
Eventually you land on recreating the modern cpu.
- burnt-resistor 1y agoNo, SIMD-optimized string ops are way, way faster. https://lemire.me/blog/2020/10/20/ridiculously-fast-unicode-utf-8-validation/ https://lemire.me/blog/2020/10/20/ridiculously-fast-unicode-...