Optimized mpq/aors.c

Rikard Nordgren rikard_nordgren at hotmail.com
Sun Jun 20 19:47:15 CEST 2004


Hi,

I have optimized mpq/aors.c by removing the extra gcd division as noted on 
the tasks page. In order to avoid an extra temporary variable it now also 
uses mpz_addmul and mpz_submul. With random small data it is approximately 
7% faster. It is NOT tested with the t-aors.c!

Regards,
Rikard Nordgren

_________________________________________________________________
Hitta rätt på nätet med MSN Sök http://search.msn.se/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpq_aors.c
Type: application/octet-stream
Size: 3522 bytes
Desc: not available
Url : /list-archives/gmp-devel/attachments/20040620/5dd51676/mpq_aors.obj


More information about the gmp-devel mailing list