Skip to content

Make everything 1.5% faster by calling leaf visitors immediately [NFC]#8581

Merged
kripken merged 9 commits intoWebAssembly:mainfrom
kripken:leav
Apr 8, 2026
Merged

Make everything 1.5% faster by calling leaf visitors immediately [NFC]#8581
kripken merged 9 commits intoWebAssembly:mainfrom
kripken:leav

Conversation

@kripken
Copy link
Copy Markdown
Member

@kripken kripken commented Apr 7, 2026

Continuing #8571, use a constexpr check to see when we are about
to visit something that has no children. In that case we don't need to
push a task for it and pop it later, we can just do the visit inline.

@kripken kripken requested a review from a team as a code owner April 7, 2026 23:13
@kripken kripken requested review from tlively and removed request for a team April 7, 2026 23:13
Copy link
Copy Markdown
Member

@tlively tlively left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@kripken kripken merged commit 15ad2b2 into WebAssembly:main Apr 8, 2026
16 checks passed
@kripken kripken deleted the leav branch April 8, 2026 14:26
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