You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we encode functions to raw wasm and the we're done. Due to our representation with a tree-like AST, however, there are possible optimizations in the encoded instructions we can't necessarily represent in the AST. For example:
call$foodropi32.const1return
can be more efficiently encoded as:
call$fooi32.const1return
Or similarly whatever AST we settle on for:
i32.const1i32.const1call$foo;; no inputs or outputsi32.xor
can be optimally represented as above, but the AST is likely to look more like:
Currently we encode functions to raw wasm and the we're done. Due to our representation with a tree-like AST, however, there are possible optimizations in the encoded instructions we can't necessarily represent in the AST. For example:
can be more efficiently encoded as:
Or similarly whatever AST we settle on for:
can be optimally represented as above, but the AST is likely to look more like:
The text was updated successfully, but these errors were encountered: