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
The benefit is that VMs have work to do that may be different for references versus MVP types. Putting all reference types in one contiguous block would let the VM clear them out more efficiently. For more details see WebAssembly/function-references#44 (comment)
The text was updated successfully, but these errors were encountered:
We already group by type in the binary format in
BinaryInstWriter::mapLocalsAndEmitHeader
. That means we don't emit locals like this:Instead all
i32
s would be in sequence:We do the same for reference types, but we could also easily group them separately from MVP types. That is, we could avoid this:
This would be better even though the reference types are different:
The benefit is that VMs have work to do that may be different for references versus MVP types. Putting all reference types in one contiguous block would let the VM clear them out more efficiently. For more details see WebAssembly/function-references#44 (comment)
The text was updated successfully, but these errors were encountered: