[issue2013] Long object free list optimization

Gregory P. Smith report at bugs.python.org
Sun Mar 23 03:04:47 CET 2008


Gregory P. Smith <greg at krypto.org> added the comment:

And the benchmarks of gps02... see the attached file.

At the end I had it run pybench rather than these microbenchmarks that
obviously show the speedup, the -gps02 patch ran 1.3% faster best case a
0.5% faster on average (32-bit; my mac's toolchain can't build enough of
py3k 64-bit to run pybench).

Things left for someone to do?  Determine what a good size for the
PyLong free list is.  4096 was a magic number chosen by tiran.

Added file: http://bugs.python.org/file9825/issue2013-benchmarks-gps02.txt

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2013>
__________________________________


More information about the Python-bugs-list mailing list