nes-rust
nes-rust copied to clipboard
Optimize JS-WASM data transfer and API
We should optimize JS-WASM data transfer and API. Currently pixel data and audio sample buffer are copied twice each. One in WASM side and another onc in JS side.
Optimized. Buffers are copied once.
If I could dynamically share buffer between WASM and JS, no copy is needed.