]> granicus.if.org Git - python/commit
Issue #14435: Remove special block allocation code from floatobject.c
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Fri, 30 Mar 2012 09:18:15 +0000 (09:18 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Fri, 30 Mar 2012 09:18:15 +0000 (09:18 +0000)
commitdaa06544c81db02d5a7298dca07ac17a8ca5214e
tree2ff553dac392e8de7e4da46cfbf65c71fa714d7e
parentc1d9869cb997b3ad85c50fbce65528ffccea4ce4
Issue #14435: Remove special block allocation code from floatobject.c
PyFloatObjects are now allocated using PyObject_MALLOC like all other
internal types, but maintain a limited freelist of objects at hand for
performance.  This will result in more consistent memory usage by Python.
Objects/floatobject.c