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

Upgrade dependencies #56

Merged
merged 3 commits into from
Jan 8, 2025
Merged

Upgrade dependencies #56

merged 3 commits into from
Jan 8, 2025

Conversation

Kerollmops
Copy link
Member

This PR upgrades the compatible and incompatible dependencies of grenad.

@Kerollmops Kerollmops requested a review from irevoire January 8, 2025 10:34
Copy link
Member

@irevoire irevoire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👌

@@ -386,7 +386,7 @@ impl EntryBoundAlignedBuffer {
/// Allocates a new buffer of the given size, it is correctly aligned to store `EntryBound`s.
fn new(size: usize) -> EntryBoundAlignedBuffer {
let entry_bound_size = size_of::<EntryBound>();
let size = (size + entry_bound_size - 1) / entry_bound_size * entry_bound_size;
let size = size.div_ceil(entry_bound_size) * entry_bound_size;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice
Was that a clippy lint?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, it was manual div ceil.

@irevoire irevoire merged commit 2d68e32 into main Jan 8, 2025
4 checks passed
@irevoire irevoire deleted the upgrade-dependencies branch January 8, 2025 11:08
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