alexcrichton opened PR #3231 from no-data-in-module
to main
:
This is the first step down the road of #3230. The long-term goal is
thatModule
is alwaysbincode
-decoded, but wasm data segments are a
possibly very-large portion of this residing in modules which we don't
want to shove through bincode. This refactors the internals of wasmtime
to be ok with this data living separately from theModule
itself,
providing access at necessary locations.Wasm data segments are now extracted from a wasm module and
concatenated directly. Data sections then describe ranges within this
concatenated list of data, and passive data works the same way. This
implementation does not lend itself to eventually optimizing the case
where passive data is dropped and no longer needed. That's left for a
future PR.
alexcrichton requested peterhuene for a review on PR #3231.
alexcrichton updated PR #3231 from no-data-in-module
to main
.
alexcrichton updated PR #3231 from no-data-in-module
to main
.
peterhuene submitted PR review.
alexcrichton merged PR #3231.
Last updated: Nov 22 2024 at 16:03 UTC