4 ms·
Are you sure they're not talking about code size? Not sure what limiting instantiations would have to do with heap size... (I also find it surprising that avoi
by remexre 3y ago
Are you sure they're not talking about code size? Not sure what limiting instantiations would have to do with heap size...
(I also find it surprising that avoiding floats helps anything; maybe just in avoiding more instantiations? Because if the std floating point functions don't fully inline, you've got bigger problems than wasm blob size...)
- __s 3y agoI'm talking about code size. Wasm has efficient encodings for small integers, but constants for floats always take up 5/9 bytes
- crabmusket 3y agoOh I see! Was this the main benefit, not the use of fixed point algorithms?