Closed liafuzho closed 2 years ago
In browsers that support threads, maybe this will work: https://github.com/GoogleChromeLabs/wasm-bindgen-rayon
Done in 3.2.0. Disable the threads
feature.
In browsers that support threads, maybe this will work: https://github.com/GoogleChromeLabs/wasm-bindgen-rayon
FWIW this also should work indeed and usually provides noticeable perf improvements, like multithreading on any other platform. Although it does require a bit of fiddling with configs.
When I call "create_image" function in WASM It's frustrating to get an error and exit.