mp_size_t

Vincent Lefevre vincent at vinc17.net
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 telia.com> 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 vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the gmp-discuss mailing list