mpz reuse test takes too much time

Torbjörn Granlund tg at
Wed Sep 28 14:19:58 UTC 2016

nisse at (Niels Möller) writes:

  Then we shouldn't need more than a few 100000 calls cover all cases, and
  we shouldn't need very large operands. Is 10--40 seconds reasonable for
We need to factor in the size-dependent algorithms too.  While most
algorithm choices are made at the mpn level, we need to ensure that mpz
makes the correct overlap assumptions wrt mpn.

The final repetition count and operand size choices were made to get
good coverage, as measured by automated coverage anaysis.

One may argue that end users don't need to run tests which covers the
libary.  But then remember that compiler bugs affecting GMP are a few
orders of magnitude more common than actual GMP bugs.

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list