Module wasmi_collections::arena

source ·
Expand description

Fast arena data structures specialized for usage in the Wasmi interpreter.

They cannot deallocate single allocated entities for extra efficiency. These data structures mainly serve as the backbone for an efficient WebAssembly store, module, instance and engine implementation.

Structs§

  • An arena allocator with a given index and entity type.
  • Stores components for entities backed by a Vec.
  • A deduplicating arena allocator with a given index and entity type.
  • A guarded entity.
  • An iterator over shared references of arena entities and their indices.
  • An iterator over exclusive references of arena entities and their indices.

Traits§

  • Types that can be used as indices for arenas.