[Python-Dev] bigmemtests for really big memory too slow

Antoine Pitrou solipsis at pitrou.net
Tue Sep 6 15:27:38 CEST 2011


Hello Martin,

> In the test suite, we have the bigmemtest and precisionbigmemtest
> decorators. I think bigmemtest cases should all be changed to
> precisionbigmemtest, giving sizes of just above 2**31. With that
> change, the runtime for test_capitalize would go down to 42s.

I have started working on this and other things in
http://hg.python.org/sandbox/antoine/, branch "bigmem".

I was planning to propose the same thing, which indeed makes tests pass
much more quickly, but I was waiting to try and solve some other
crashes in test_bigmem.

Regards

Antoine.




More information about the Python-Dev mailing list