Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Dec 5, 2025

Rather than FindAll multiple times, do a single scan with visitors.

This makes DAE 2% faster (and likely other passes that also use this utility).

Diff without whitespace is smaller.

Merge remote-tracking branch 'origin/main' into lub.fast
@kripken kripken requested a review from tlively December 9, 2025 23:51
kripken and others added 2 commits December 9, 2025 16:46
Co-authored-by: Thomas Lively <tlively123@gmail.com>
@kripken kripken enabled auto-merge (squash) December 10, 2025 00:48
@kripken kripken merged commit fb4aef6 into WebAssembly:main Dec 10, 2025
17 checks passed
@kripken kripken deleted the lub.fast branch December 10, 2025 16:38
kripken added a commit to kripken/binaryen that referenced this pull request Dec 10, 2025
)

Rather than FindAll multiple times, do a single scan with visitors.

This makes DAE 2% faster (and likely other passes that also use this
utility).
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