[issue8692] Use divide-and-conquer for faster factorials

Daniel Stutzbach report at bugs.python.org
Fri May 14 06:19:04 CEST 2010


Daniel Stutzbach <daniel at stutzbachenterprises.com> added the comment:

Attached is a simple bash script to run math.factorial(n) through timeit for several values of n.  It makes comparing the speed of different builds MUCH easier.

----------
Added file: http://bugs.python.org/file17329/factorial-speed.sh

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8692>
_______________________________________


More information about the Python-bugs-list mailing list