alexcrichton opened PR #11891 from alexcrichton:wizer-less-copies to bytecodealliance:main:
Instead of copying all memory out of a store only copy the contents of the data segments that are created. This refactors the snapshotting process to work with data segments purely with ranges first and then copy out the data at the end once all the ranges have settled. This additionally, while refactoring, adds 64-bit memory support to snapshotting by ensuring that data segments have the right type of offset annotated.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested dicej for a review on PR #11891.
alexcrichton requested wasmtime-core-reviewers for a review on PR #11891.
alexcrichton requested fitzgen for a review on PR #11891.
github-actions[bot] commented on PR #11891:
Subscribe to Label Action
cc @fitzgen
<details>
This issue or pull request has been labeled: "wizer"Thus the following users have been cc'd because of the following labels:
- fitzgen: wizer
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
fitzgen submitted PR review:
Very nice, thanks!
fitzgen merged PR #11891.
Last updated: Dec 06 2025 at 07:03 UTC