Files
coreutils/tests
Paul Eggert 831623ba66 factor: switch from mp to single when doable
This significantly improves performance when a number exceeds
2**(W_TYPE_SIZE - 1) and is the product of a prime less than
FIRST_OMITTED_PRIME and another prime less than 2**(W_TYPE_SIZE - 1).
On my platform, for example, it doubled the speed of factoring
4999 * (2**128 - 159).
* src/factor.c (mp_size, mp_finish_in_single): New functions.
(mp_factor_using_division, mp_factor_using_pollard_rho):
Finish using single precision when possible.
* tests/factor/factor.pl (lt-5000-times-128-bit): New test.
2025-07-09 17:12:39 -07:00
..
2025-02-17 02:31:50 -08:00
2025-05-21 21:22:08 +01:00
2025-06-10 13:03:40 -07:00
2025-01-15 17:07:19 +00:00
2025-03-23 12:01:18 -07:00
2025-01-15 17:07:19 +00:00
2025-06-20 12:15:27 -07:00