Not sure if code size is a focus in this project or not, but for my own curiosity I did some wasm size measurements, posting in case it might be interesting:
current binary 1.89 MB
current + wasm-opt 1.59
emscripten 1.56
(Using -O3 for wasm-opt and emscripten.) So binaryen wasm-opt saves around 16% here.
Not sure if code size is a focus in this project or not, but for my own curiosity I did some wasm size measurements, posting in case it might be interesting:
(Using
-O3forwasm-optand emscripten.) So binaryenwasm-optsaves around 16% here.