3 ms·
WebAssembly does not work on this low level. You cannot choose the switch/case implementation. Also it doesn't support goto. The reason is security and speed. T
by s-macke 7y ago
WebAssembly does not work on this low level. You cannot choose the switch/case implementation. Also it doesn't support goto. The reason is security and speed. The wasm-binary should be checked in O(n) and not in O(n^2). But I am curious about the future versions of webassembly.
There is already a wasm version of the CPU emulation. I will enable it at some point as default. But there is no speedup yet.