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

Constant fold subtractions. #1527

Merged
merged 1 commit into from
Dec 24, 2024
Merged

Constant fold subtractions. #1527

merged 1 commit into from
Dec 24, 2024

Conversation

ltratt
Copy link
Contributor

@ltratt ltratt commented Dec 22, 2024

Note we have to be careful about this, because subtraction, unlike addition, is not commutative.

This shaves another 2.5% off big_loop.

@vext01 vext01 added this pull request to the merge queue Dec 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 23, 2024
@vext01
Copy link
Contributor

vext01 commented Dec 23, 2024

Needs clippy :)

Note we have to be careful about this, because subtraction, unlike
addition, is not commutative.

This shaves another 2.5% off big_loop.
@vext01 vext01 added this pull request to the merge queue Dec 24, 2024
Merged via the queue into ykjit:master with commit f306f9c Dec 24, 2024
2 checks passed
@ltratt ltratt deleted the opt_sub branch December 24, 2024 22:39
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.

3 participants