Skip to content

Charge for table growing #1075

@Stebalien

Description

@Stebalien

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.

  1. Instrument and charge for zeroing in wasm.
  2. Account for the expanded table memory in wasm.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions