Skip to content

Optimize bool::min/max #114695

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

Closed
wants to merge 1 commit into from
Closed

Conversation

joboet
Copy link
Member

@joboet joboet commented Aug 10, 2023

See #114653. Make the job easier for the optimizer by applying the optimization in the library.

@rustbot
Copy link
Collaborator

rustbot commented Aug 10, 2023

r? @thomcc

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Aug 10, 2023
@the8472
Copy link
Member

the8472 commented Aug 10, 2023

Have you checked if it improves anything?

@joboet
Copy link
Member Author

joboet commented Aug 11, 2023

Closing in favour of #114721 which also optimizes clamp.

@joboet joboet closed this Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants