-
Notifications
You must be signed in to change notification settings - Fork 0
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
Preprocessing #13
Preprocessing #13
Conversation
I took the liberty of reformatting the comments slightly to match the preferred line length in Rust. Feel free to revert the commit (or just delete it and force-push) if you'd rather keep the previous formatting. |
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.
👍
src/faand.rs
Outdated
|
||
// Assign objects to buckets | ||
let mut available: Vec<usize> = (0..length).collect(); | ||
let mut shared_rng = shared_rng(&mut channel, p_own, p_max).await?; |
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 know that we don't want to focus too much on performance optimizations at this stage, but perhaps it makes sense to reuse the shared_rng
from the fabitn
fn?
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 was a visible improvement right away, thanks!
We can close this one, right? |
No description provided.