Vincent Lefevre vincent at
Wed Oct 6 11:15:36 UTC 2021

On 2021-10-06 11:53:10 +0200, Torbjorn Granlund wrote:
> Hans Åberg <hans.aberg-1 at> writes:
>   How large is this overhead?
> 8 bytes per mpz_t.
> (That might not matter to some people, but imagine somebody with huge
> matrices of mpz_t.)

But people with many small integers could choose an alternate
representation for these small integers, better than mpz_t
(with a tag to specify which representation is used).

Vincent Lefèvre <vincent at> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

More information about the gmp-discuss mailing list