3 ms·
> One thing is pure call performance (time to invoke a void() function). I don't know where that is, but I guess for WASM<->JS it's slower than WASM<->WASM and
by gsnedders 9y ago
> One thing is pure call performance (time to invoke a void() function). I don't know where that is, but I guess for WASM<->JS it's slower than WASM<->WASM and JS<->JS, since it can't be inlined.
…why can't it be inlined? There's no good reason why it can't be inlined.
- Matthias247 9y agoWhen I wrote about that I thought about static resolving of where inlining is possible, which would be hard on a boundary to a dynamic language. But yeah, assuming both WASM and JS run inside the same JITting VM it is probably happening.