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
We might be able to do more optimizations in Wasm_of_ocaml since we know better the structure of the code that we generate (keep the index of a for loop in a 32-bit integer, interprocedural optimization, ...)
The text was updated successfully, but these errors were encountered:
We could eliminate some unnecessary conversions between 31- and 32-bits integers.
Binaryen does not optimize this at all at the moment. We could implement a pass in Binaryen and/or perform this optimization in Wasm_of_ocaml.
For instance,
is equivalent to
We might be able to do more optimizations in Wasm_of_ocaml since we know better the structure of the code that we generate (keep the index of a for loop in a 32-bit integer, interprocedural optimization, ...)
The text was updated successfully, but these errors were encountered: