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
This allows eager and lazy fuel consumption modes to be used which
mainly affects bulk operations such as table.copy and memory.grow.
Eager fuel consumption always consumes fuel before a bulk operation for the
total amount independent of success or failure of the operation whereras
lazy fuel consumption only consumes fuel for successful executions.
With this change most instructions cost roughly 1 fuel upon execution.
This is more similar to how Wasmtime deals with fuel metered instruction costs.
Before this change wasmi tried to have fuel costs that more closely mirror
the computation intensity of the respective instruction according to benchmarks.