3 ms·
The optimizations are already done ahead of time, by Emscripten. There is no need to do them on the client, and doing so just increases compilation time for no
by pcwalton 14y ago
The optimizations are already done ahead of time, by Emscripten. There is no need to do them on the client, and doing so just increases compilation time for no reason.
In fact, shipping the types to the client is harmful, because it increases the download size. This is one of the ways asm.js is, IMHO, a better bytecode than LLVM IR…
- Zarel 13y ago> In fact, shipping the types to the client is harmful, because it increases the download size To be fair, it's probably negligible compared to the download size impact of representing bytecode in a subset of JavaScript.