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

Preprocessing #13

Closed
wants to merge 57 commits into from
Closed

Preprocessing #13

wants to merge 57 commits into from

Conversation

kisakishy
Copy link
Collaborator

No description provided.

kisakishy and others added 30 commits April 15, 2024 15:22
@kisakishy kisakishy requested a review from fkettelhoit April 15, 2024 14:44
@fkettelhoit
Copy link
Contributor

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.

Copy link
Contributor

@fkettelhoit fkettelhoit left a 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?;
Copy link
Contributor

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?

Copy link
Collaborator Author

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!

@fkettelhoit
Copy link
Contributor

We can close this one, right?

@kisakishy kisakishy closed this Oct 8, 2024
@kisakishy kisakishy deleted the preprocessing branch October 9, 2024 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants