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
To give a canonical ordering for experimenting with the encoding efficiency it might help to sort each functions local variables with the most frequently referenced first. This way an encoding optimizing for small local variable indexes might do best, such as the polyfill-prototype-1. I assume similar encoding optimizations will be used in the MVP too because it appears quite effective.
The text was updated successfully, but these errors were encountered:
We can do this in a binaryen pass, then it wouldn't be tied to asm2wasm (but asm2wasm could run it in its optimizations phase).
kripken
changed the title
asm2wasm: sort the local variable order with the most frequently referenced first.
Sort the local variable order with the most frequently referenced first.
Dec 21, 2015
To give a canonical ordering for experimenting with the encoding efficiency it might help to sort each functions local variables with the most frequently referenced first. This way an encoding optimizing for small local variable indexes might do best, such as the polyfill-prototype-1. I assume similar encoding optimizations will be used in the MVP too because it appears quite effective.
The text was updated successfully, but these errors were encountered: