mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 10:10:52 +00:00
Cache the `Uint8Array` and `Uint32Array` views into wasm memory as well as the instances of `TextEncoder` and `TextDecoder`. Should hopefully help cut down on gc traffic and otherwise convince the engine to keep these as long-lived objects.