Files
wasmtime/crates
Peter Huene dd284ac218 Store memories and tables on Instance as PrimaryMap.
This commit changes how memories and tables are stored in `Instance`.

Previously, the memories and tables were stored as a `BoxedSlice`. Storing it
this way requires an allocation to change the length of the memories and
tables, which is desirable for a pooling instance allocator that is reusing an
`Instance` structure for a new instantiation.

By storing it instead as `PrimaryMap`, the memories and tables can be resized
without any allocations (the capacity of these maps will always be the
configured limits of the pooling allocator).
2021-03-04 18:18:51 -08:00
..
2021-03-01 16:39:20 -06:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-01 16:39:20 -06:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00