Skip to content

Conversation

CosminPerRam
Copy link
Contributor

Way quicker on debug builds, only a condition and a jump better on release (godbolt here), I find it to be simpler than the for alternative.

Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's great, thank you!
That's a real performance improvement right here!

@Byron Byron merged commit c675117 into rust-lang:main Feb 13, 2025
14 checks passed
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.

2 participants