GMP compared to JAVA

Heiko Stamer stamer at gaos.org
Fri Dec 21 10:50:56 CET 2007


On Thu, Dec 20, 2007 at 08:37:54PM -0300, Nustenil Segundo wrote:

> For the result in C with n = 10005 bits the time was 2800 ms (a example).
> For the result in JAVA with n = 10005 bits the time was 10 ms (a example).
> 
> Why this difference?

Perhaps the performance of GMP RNG is poor. Have you checked this?

Regards,
-- 
Heiko Stamer <stamer at theory.informatik.uni-kassel.de>, Fon: +49 561 804-6635


More information about the gmp-discuss mailing list