Skip to content

Conversation

Summer-the-coder
Copy link

Checking the remainder of division by 3 at the beginning lets us do less checks in the loop overall.

@sbogolepov
Copy link
Contributor

Hey! This code is part of our benchmark suite. Even if the benchmark code can be improved, changing it would affect benchmark numbers which affects historical compatibility.

@sbogolepov sbogolepov closed this Oct 7, 2025
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