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

rockskip: ruler function is just bits.TrailingZeros #62567

Merged
merged 2 commits into from May 13, 2024
Merged

Conversation

keegancsmith
Copy link
Member

I couldn't help but make this change after seeing the algorithm in #62510. Feel free to just close this if this makes it less clear, but this kinda feels clearer in my head but I am probably weird.

Test Plan: TestRuler passes

I couldn't help but make this change after seeing the algorithm. Feel
free to just close this if this makes it less clear, but this kinda
feels clearer in my head but I am probably weird.

Test Plan: TestRuler passes
@keegancsmith keegancsmith requested review from jtibshirani and a team May 9, 2024 09:52
@cla-bot cla-bot bot added the cla-signed label May 9, 2024
@github-actions github-actions bot added team/product-platform team/search-platform Issues owned by the search platform team labels May 9, 2024
Copy link
Member

@jtibshirani jtibshirani left a comment

Choose a reason for hiding this comment

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

I like this, it's clear to me at least :) Could you add a short comment because it's not 100% obvious this is equivalent?

@keegancsmith keegancsmith enabled auto-merge (squash) May 13, 2024 15:46
@keegancsmith
Copy link
Member Author

@jtibshirani updated with a comment

@keegancsmith keegancsmith merged commit 1515512 into main May 13, 2024
7 of 11 checks passed
@keegancsmith keegancsmith deleted the k/ruler branch May 13, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed team/product-platform team/search-platform Issues owned by the search platform team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants