WASM SIMD — scalar arithmetic over JavaScript typed arrays.
Each function applies a value to every element of the input array using
Rust's portable SIMD (128-bit vectors) compiled to WebAssembly.
The input array is not mutated; a new typed array of the same type is returned.
WASM SIMD — scalar arithmetic over JavaScript typed arrays.
Each function applies a
valueto every element of the input array using Rust's portable SIMD (128-bit vectors) compiled to WebAssembly. The input array is not mutated; a new typed array of the same type is returned.SIMD lane widths (128-bit registers):
u8/i8(U)Int8Arrayu16/i16(U)Int16Arrayu32/i32/f32(U)Int32Array,Float32Arrayf64Float64Array