lambdaworks icon indicating copy to clipboard operation
lambdaworks copied to clipboard

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

Open crStiv opened this issue 3 months ago • 0 comments
trafficstars

  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 avatar Aug 09 '25 17:08 crStiv