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
{{ message }}
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
Together, dlmalloc and alloc clock in at 10,126 bytes, or 50.98% the total Code section size in my .wasm (pre gzip).
I suspect allocation performance isn't a huge concern for Rust programs compiled into .wasm or else you could write it in JS with better/similar performance.
We could write a simple free-list allocator that focuses on tiny code size.
Together,
dlmallocandallocclock in at 10,126 bytes, or 50.98% the totalCodesection size in my.wasm(pregzip).I suspect allocation performance isn't a huge concern for Rust programs compiled into
.wasmor else you could write it in JS with better/similar performance.We could write a simple free-list allocator that focuses on tiny code size.