Skip to content

factor: use num_prime crate's u64 and u128 factorization methods to speed up the performance of calculating prime numbers for u64 and u128#9171

Merged
sylvestre merged 1 commit into
uutils:mainfrom
asder8215:factor_optimization
Nov 8, 2025
Merged

factor: use num_prime crate's u64 and u128 factorization methods to speed up the performance of calculating prime numbers for u64 and u128#9171
sylvestre merged 1 commit into
uutils:mainfrom
asder8215:factor_optimization

factor: use num_prime crate's u64 and u128 factorization methods to s…

7622e9f
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Nov 8, 2025 in 0s

Performance Gate Passed

Summary

⚡ 2 improvements
✅ 124 untouched
⏩ 2 skipped1

Benchmarks breakdown

Benchmark BASE HEAD Change
factor_multiple_u128s[18446744073709551616] 331.2 ms 323.7 ms +2.31%
factor_multiple_u64s[2] 186.4 ms 180.1 ms +3.5%

Footnotes

  1. 2 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.