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

Refactor JS parser visitor step into individual functions to reduce stack space usage #15993

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

Jarred-Sumner
Copy link
Collaborator

What does this PR do?

Supersedes #15986
Fixes #13233

Bun version visitAndAppendStmt stack space usage
This PR 1552 bytes
Bun v1.1. 42 7456 bytes

https://claude.ai/share/ef33dcc7-5ff7-425b-babe-f4370ff45855

@robobun
Copy link

robobun commented Dec 26, 2024

Updated 11:09 PM PT - Dec 25th, 2024

@Jarred-Sumner, your commit acd33ce has passed in #8529! 🎉


🧪   try this PR locally:

bunx bun-pr 15993

@Jarred-Sumner Jarred-Sumner merged commit d4c0432 into main Dec 26, 2024
66 of 67 checks passed
@Jarred-Sumner Jarred-Sumner deleted the jarred/stack-overflow-3 branch December 26, 2024 07:02
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.

Transpiler stack overflow with many else if(0) branches
2 participants