remove extra division in mpq/aors.c
Torbjorn Granlund
tg at gmplib.org
Sun Feb 20 20:13:56 CET 2011
Marc Glisse <marc.glisse at inria.fr> writes:
> BTW, did you make sure the temps will be suffient?
I hope I did, but a second look couldn't hurt.
It looks correct to me.
We could certainly merge the first 3 into one area with gcd, tmp1 and
tmp2 pointing to different offsets into it. If I remember correctly
this is something that could be done in many places in gmp.
Memory allocation can surely be improved in a large number of places in
GMP. It is a very complex issue.
--
Torbjörn
More information about the gmp-discuss
mailing list