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

✨ constants to the right #1950

Open
joocer opened this issue Aug 29, 2024 · 0 comments
Open

✨ constants to the right #1950

joocer opened this issue Aug 29, 2024 · 0 comments

Comments

@joocer
Copy link
Contributor

joocer commented Aug 29, 2024

as an optimization strategy, moving all constants to the right of the equals should allow more folding of constants.

This may provide two benefits; when we reduce to x=y we can push this to the reader, this is the best case. Even if we can't push down, a simple expression will be faster to evaluate.

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

No branches or pull requests

1 participant