4 points · by ansipunk · 6mo ago · 5 comments
1. input (release builds, x64 AVX-512 host)
2. main (Rust)
3. this PR (C++ + highway)
4. speedup
"ascii, 4.6k chars 2.33 µs 106 ns 22×"
Port Bun.stringWidth to C++ with explicit SIMD by robobun · Pull Request #31351 · oven-sh/bun
What Moves the Bun.stringWidth implementation from Rust to C++ with explicit SIMD, as requested. New src/jsc/bindings/stringWidth.cpp / stringWidth.h — the full visible-width engine: codepoint cla...
GitHub