* Nick Arnett ([EMAIL PROTECTED]) wrote:

> As a Pythonist who does a reasonable bit of scientific computing sorts
> of calculations... I'll say that although I don't have time to see
> just what it would do with this problem,

I guess not...

> Scipy, a Python module that uses native libraries, seems to
> perform quite well at such things once it one muddles through the
> documentation to figure out the right way to attack the problem.

Huh? factorial(N, exact=1) will calculate it using arbitrary precision
integer arithmetic. But it is darn slow. I tried factorial(100000,
exact=1) and it took more than a minute on my machine. Also, 10000! was
only a couple seconds, so it looks like it is much worse than linear
time. I'd hate to see what happens if you try 5M!

--
Erik Reuter   http://www.erikreuter.net/
_______________________________________________
http://www.mccmedia.com/mailman/listinfo/brin-l

Reply via email to