speed and mpn_set_str

Niels Möller nisse at lysator.liu.se
Wed Jan 9 11:52:41 CET 2013

Torbjorn Granlund <tg at gmplib.org> writes:

> In the case of tune/speed it usually follows what tune/tuneup does,
> which is output the type needed by the library.  This might require some
> interpretation by humans.

Are the thresholds for mpn_set_str compared to input size or (estimated)
output limb count? I imagine optimal threshold may also be


Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.

More information about the gmp-devel mailing list