in reply to Re^2: Math help: Finding Prime Numbers
in thread Math help: Finding Prime Numbers
The $Math::Pari::initprimes variable controls initialization of precalculated primes. Since that doesn't go through the perl iface, but is a canned C routine, initialization is fast. To avoid setting that in a BEGIN block, you can say:
See the Initialization section of the Math::Pari docs.use Math::PariInit qw( primes=12000000 );
After Compline,
Zaxo
|
---|