SIMD fixes malformed UTF-16 strings up to 9x faster, already in Chromium and Node 25
lemire · x · 2026-08-26
A new paper by lemire et al.: fixing ill-formed UTF-16 strings (unpaired surrogates replaced by U+FFFD, as JavaScript and Java store strings) using SIMD — ARM NEON and x64 SSE/AVX2/AVX-512. It hits 18.9 GB/s on an Apple M4 and 7.5 GB/s on Intel Ice Lake, at as little as 0.4 instructions per byte, up to 9x faster than the old approach. Shipped in practice: String.prototype.toWellFormed in Node.js 25 is 5x faster, and the code is in Chromium browsers (Chrome, Edge, Brave); a browser benchmark is linked.
Related event: SIMD Repairs Malformed UTF-16 Strings 9x Faster(2 posts)→
More from Research
- Genetic Algorithms vs Evolution Strategies: Remembering Solutions vs Search Directions — RobertTLange · 2026-11-30
- Notes on 'Looking Back at Postgres': Extensibility, No WAL, Open Source — sh_reya · 2026-11-30
- MemoRenderer: geometry-aligned memory keeps code-driven generative worlds visually consistent — Ming Lin · 2026-11-30
- Bathys: 9B/27B deep search agents trained with verifiable question synthesis hit strong BrowseComp results — Bathys · 2026-11-30
- Physically Accurate 3D Assets for Robotics Remain Hard as Visual Generation Gets Easy — rms80 · 2026-11-30
- François Fleuret on lr schedules: crossing the high-frequency wasteland kills your training run — francoisfleuret · 2026-11-30