Lazy mpz allocation

Marco Bodrato bodrato at mail.dm.unipi.it
Mon Nov 9 22:01:13 UTC 2015


Ciao,

Il Lun, 9 Novembre 2015 8:36 pm, Niels Möller ha scritto:
> I agree on the direction. Please do it!

Done: https://gmplib.org/repo/gmp/rev/299ec6187305

Of course you may have better suggestions for mpz/init*.c (currently there
are different dummy_limbs, all defined inside their own init function...),
and we have to check that all functions was actually adapted correctly...

Moreover, the mpq layer and mini-gmp need to migrate to lazy allocation
too...

But we can say we started :-)

Regards,
m

-- 
http://bodrato.it/



More information about the gmp-devel mailing list