Three technical remarks about GMP functions

Sisyphus sisyphus1 at
Wed Jun 8 14:14:15 CEST 2005

----- Original Message ----- 
From: "NUNES" <raulnunes at>

> 1st - I've created a base of primes going from 2 thru 2^32-5 (that is,
primes that can be stored in 32-bits words).

Haven't fully looked at what you're doing, but you may well find that it's
more efficient to generate the primes on the fly and read them from memory,
rather than read them from disk. See (eg) .


More information about the gmp-discuss mailing list