We don't curently charge for table growing, but we should. According to the wasmtime docs, each table element requires one usize of memory (host memory).
Proposal: Charge 8 bytes per table element.
- Instrument and charge for zeroing in wasm.
- Account for the expanded table memory in wasm.
We don't curently charge for table growing, but we should. According to the wasmtime docs, each table element requires one usize of memory (host memory).
Proposal: Charge 8 bytes per table element.