[Python-Dev] PyCon: please review miy pending patches

Andrew MacIntyre andymac at bullseye.apana.org.au
Thu Mar 20 13:36:33 CET 2008


Christian Heimes wrote:

> Memory management of ints, floats and longs
> http://bugs.python.org/issue2039
> http://bugs.python.org/issue2013

wrt 2039 - I would like to see the free list compaction called from 
gc.collect() rather than a function in sys... something you suggested.

As I noted in the comments to 2039, in the presence of pymalloc there is
almost no value to floats having a freelist as far as I can test - other 
than in microbenchmarks.

I see from a comment in 2013 that you were testing that patch with a 
debug build, which skews the timings.  If your performance evaluation of 
2039 was also done with a debug build, I suggest you try it with a 
non-debug build (which is what I used for all my testing).

-- 
-------------------------------------------------------------------------
Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au  (pref) | Snail: PO Box 370
        andymac at pcug.org.au             (alt) |        Belconnen ACT 2616
Web:    http://www.andymac.org/               |        Australia


More information about the Python-Dev mailing list