Skip to content

refactor(helpers): safely convert usize to u64 and add unit tests for resize_to_next_power_of_two #1016

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

crStiv
Copy link

@crStiv crStiv commented Aug 9, 2025

  1. Refactored resize_to_next_power_of_two to safely handle usize to u64 conversion with overflow fallback.

  2. Added unit tests to validate resizing behavior and ensure data integrity.

@crStiv crStiv requested a review from a team as a code owner August 9, 2025 17:03
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.

1 participant