How to increase the speed of this program?
mike.klaas at gmail.com
Wed Nov 29 06:56:40 CET 2006
> Klaas wrote:
> > In fact, you can make it about 4x faster by balancing:
> > [klaas at worbo ~]$ python -m timeit -s "from array import array"
> > "array('c','\0'*200)*500"
> > 10000 loops, best of 3: 32.4 usec per loop
> This is an unclean minimally-tested patch which achieves reasonable
> performance (about 10x faster than unpatched python):
Never mind, that patch is bogus. A updated patch is here:
More information about the Python-list