Skip to content
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

Precompute: Optimize array.len #6299

Merged
merged 2 commits into from
Feb 12, 2024
Merged

Conversation

kripken
Copy link
Member

@kripken kripken commented Feb 12, 2024

No description provided.

@kripken kripken requested a review from tlively February 12, 2024 17:59
@kripken
Copy link
Member Author

kripken commented Feb 12, 2024

30K fuzz iterations look ok.

@kripken kripken merged commit 1948008 into WebAssembly:main Feb 12, 2024
14 checks passed
@kripken kripken deleted the precompute.array.len branch February 12, 2024 21:29
radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
Arrays have immutable length, so we can optimize them like immutable fields.
@gkdn gkdn mentioned this pull request Aug 31, 2024
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.

2 participants