Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

rockskip: ruler function is just bits.TrailingZeros#62567

Merged
keegancsmith merged 2 commits into
mainfrom
k/ruler
May 13, 2024
Merged

rockskip: ruler function is just bits.TrailingZeros#62567
keegancsmith merged 2 commits into
mainfrom
k/ruler

Conversation

@keegancsmith

Copy link
Copy Markdown
Member

I couldn't help but make this change after seeing the algorithm in https://github.com/sourcegraph/sourcegraph/pull/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 a team and jtibshirani 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

@jtibshirani jtibshirani left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member Author

@jtibshirani updated with a comment

@keegancsmith keegancsmith merged commit 1515512 into main May 13, 2024
@keegancsmith keegancsmith deleted the k/ruler branch May 13, 2024 15:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

2 participants