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
In reply to Re^3: Math help: Finding Prime Numbers
by Zaxo
in thread Math help: Finding Prime Numbers
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |