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

Check performance of RewriteControlFlow #1033

Open
maximebuyse opened this issue Oct 24, 2024 · 0 comments
Open

Check performance of RewriteControlFlow #1033

maximebuyse opened this issue Oct 24, 2024 · 0 comments
Labels
engine Issue in the engine

Comments

@maximebuyse
Copy link
Contributor

The RewriteControlFlow phase visits expressions only if they contain control flow (return, break, continue). But that means visiting twice the expressions when they contain control flow which is bad in terms of complexity in the worst cases. We should check if this has an impact. A solution could be to memoize which subexpressions contain control flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine Issue in the engine
Projects
None yet
Development

No branches or pull requests

1 participant