Fwd: Fwd: Mlucas + GMP
winsto003 at hotmail.com
Wed Feb 7 14:02:56 UTC 2018
Oh sorry to mention that this is the time of squaring a n-bit number by ( n - 2 ) times. Therefore it takes so long...
-------- Original message --------
From: Torbjörn Granlund <tg at gmplib.org>
Date: 07/02/2018 21:43 (GMT+08:00)
To: Win C <winsto003 at hotmail.com>
Cc: gmp-discuss at gmplib.org
Subject: Re: Fwd: Mlucas + GMP
Win C <winsto003 at hotmail.com> writes:
Mlucas: 10 min
GMP-6.1.2: 26 min
Now it is clearer, right? The difference is not that small between GMP
OK. so for at least one operation on one computer, mlucas is 62% faster
than GMP. That's a very signiicant difference.
But it is not clear what you're measuring. When I multiply numbers of
around 700000 bits using GMP on a 5 year old Intel Ivy Bridge, it takes
0.0028s, a far cry from your 26 minutes.
But perhaps you really intend to say that you measure 700000 *word*
operands? Then GMP needs 0.36s.
Please encrypt, key id 0xC8601622
More information about the gmp-discuss