Summary
OperatorCost only configures a flat cost for each Wasm operator.
Operations like memory.fill can do variable work and priced with a fixed 1 fuel per byte.
Add configurable per byte/unit costs to OperatorCost for embedders to have control over how the pricing is
done for these kind of instructions.
Summary
OperatorCostonly configures a flat cost for each Wasm operator.Operations like
memory.fillcan do variable work and priced with a fixed 1 fuel per byte.Add configurable per byte/unit costs to
OperatorCostfor embedders to have control over how the pricing isdone for these kind of instructions.