-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Replace min/max token with TokenRange
in bloom ring utilities
#11960
Conversation
8e083ba
to
f9399c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is great. Left some comments. I think being able to map the tokens to whichever key-space we want by using generics would be super handy.
Yeah, good idea |
af12e2f
to
e9a0f90
Compare
Similar to FingerprintBounds Signed-off-by: Christian Haudum <[email protected]>
Signed-off-by: Christian Haudum <[email protected]>
Signed-off-by: Christian Haudum <[email protected]>
Signed-off-by: Christian Haudum <[email protected]>
Signed-off-by: Christian Haudum <[email protected]>
Signed-off-by: Christian Haudum <[email protected]>
c030ec9
to
128c0fb
Compare
Signed-off-by: Christian Haudum <[email protected]>
…ana#11960) This PR replaces min/max token fields with a `TokenRange` field that uses the `Range[uint32]` type. The `Range[uint32]` uses similar semantics as the `FingerprintBounds` we use for fingerprint ranges. Signed-off-by: Christian Haudum <[email protected]>
This PR replaces min/max token fields with a
TokenRange
field that uses theRange[uint32]
type.The
Range[uint32]
uses similar semantics as theFingerprintBounds
we use for fingerprint ranges.