wasm3
wasm3 copied to clipboard
🚀 Optimize WASM tail calls
https://github.com/WebAssembly/tail-call
Currently return_call (0x12)
and return_call_indirect (0x13)
are just aliases of call
and call_indirect
.
For these operations, we could actually reuse the stack frame to optimize memory usage.
This may be required for an adequate implementation of #8
Test script is now prepared to run tests for this proposal:
./run-spec-test.py ./proposals/tail-call/*.json