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

Use decision trees for case expression code generation on the JS target #3969

Open
giacomocavalieri opened this issue Dec 8, 2024 · 1 comment
Labels
help wanted Contributions encouraged priority:low

Comments

@giacomocavalieri
Copy link
Member

Code generation for js doesn't take advantage of the decision tree generative if-else branches that check the same conditions more than once. It'd be cool to have this optimisation

@lpil lpil changed the title Optimise case expressions on the JS target Use decision trees for case expression code generation on the JS target Dec 9, 2024
@lpil
Copy link
Member

lpil commented Dec 9, 2024

Thank you. This is a more challenging item of work.

@lpil lpil added help wanted Contributions encouraged priority:low labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Contributions encouraged priority:low
Projects
None yet
Development

No branches or pull requests

2 participants