-
Notifications
You must be signed in to change notification settings - Fork 226
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
add IntervalData struct #5205
add IntervalData struct #5205
Conversation
b83d719
to
a9e3fd7
Compare
a9e3fd7
to
e5b6d1f
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.
First pass on this, looking good!
components/nimbus/src/lib.rs
Outdated
buckets: VecDeque::new(), | ||
starting_instant: Instant::now(), | ||
}; | ||
data.buckets.push_front(0); |
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.
Both the increment and rotate handle this case, I don't think you necessarily need to push an i32 into it here in the constructor.
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.
Since they no longer handle this is this resolved?
Codecov ReportBase: 41.06% // Head: 41.78% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #5205 +/- ##
==========================================
+ Coverage 41.06% 41.78% +0.72%
==========================================
Files 170 172 +2
Lines 12875 13066 +191
==========================================
+ Hits 5287 5460 +173
- Misses 7588 7606 +18
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
This is amazing!
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.
💯 r+
This adds a struct for the IntervalData required for behavioral targeting.
EXP-2874
Pull Request checklist
[ci full]
to the PR title.Branch builds: add
[ac: android-components-branch-name]
and/or[fenix: fenix-branch-name]
to the PR title.