3 ms·
It should be possible to reduce that a bunch more, 65kB sounds high. Running the binaryen optimizer on that wasm shrinks it by 6%. Probably more can be done on
by azakai 9y ago
It should be possible to reduce that a bunch more, 65kB sounds high.
Running the binaryen optimizer on that wasm shrinks it by 6%. Probably more can be done on the Rust side.
- killercup 9y agoAbsolutely, yeah. Having a real linker will help with that as well. Until then, you can also compile with [profile.release] opt-level = "s" (i.e., optimizing for size), to get it down to 23kB gzipped.