You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Ignoring the fact that WASM doesn't work on master right now)
I was shocked to notice that WASM binary size grew from 69kB to 1181kB on z release build running it through wasm-opt tool.
Deleting the file additions of precomputed_ecmult_gen.c and precomputed_ecmult.c from build.rs brought the size back down to 69kB (while still being broken due to other issues)
Perhaps there could be a feature similar to lowmemory that will lower the binary size.
There is a possibility that the inability for z release profile and wasm-opt tool not being able to remove any of the data (even in lowmemory feature mode with lower window, the binary size did not change) could be a hint toward the solution to the other WASM issues.
But for now, I am making this a separate issue, which may or may not be solved by solving the other WASM issues. Just putting it out there.