kettle11 / tangle

Radically simple multiplayer / networked WebAssembly
MIT License
1.18k stars 37 forks source link

Reduce size of `rust_utilities.wasm` #3

Open kettle11 opened 1 year ago

kettle11 commented 1 year ago

The important part of Tangle is a very small distributable, but the rust_utilities.wasm file is ~500kb! Most of that is due to the use of Walrus, a library for working with Wasm. By rewriting / replacing Tangle's use of that library it should be possible to significantly reduce the final size to use Tangle.