A question about mpz_out_str and mpz_out_raw output limitation

David Gillies daggillies at gmail.com
Thu Jun 26 13:50:09 UTC 2014

One issue I see is that even mpz_export needs a temporary the same size as
the mpz_t to be exported, whether allocated beforehand or via the GMP
allocator if rop is NULL. It would be nice if there were API calls to
serialise (and deserialise) directly to/from a FILE* without memory
allocation overhead. Or are there reasons why this is a daft idea?

(grr. gmail is bad at inferring reply addresses so this originally went to
TG only, apologies)

On Thu, Jun 26, 2014 at 5:01 AM, Torbjörn Granlund <tg at gmplib.org> wrote:

> Please follow up to the list.
> Torbjörn
> Please encrypt, key id 0xC8601622

David Gillies
San Jose
Costa Rica

More information about the gmp-discuss mailing list