Rust portable SIMD compiled to WebAssembly vs. plain JavaScript typed-array loops.
Operations apply a scalar to every element of a typed array.
SIMD timings include the JS↔WASM memory copy.
SIMD widths (128-bit lanes) — u8 / i8 × 16 u16 / i16 × 8 u32 / i32 / f32 × 4 f64 × 2