Skip to content

Wasm: Store the contents of constant primitive arrays in data segments. #5219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented Aug 9, 2025

Paradoxically, this makes the produced .wasm a bit larger. That is because the elements are never LEB-encoded.

However, it should speed up decoding, compiling and executing the Wasm module.

…nts.

Paradoxically, this makes the produced .wasm a bit larger. That is
because the elements are never LEB-encoded.

However, it should speed up decoding, compiling and executing the
Wasm module.
@sjrd sjrd requested a review from gzm0 August 9, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant