[issue14435] Remove special block allocation from floatobject.c
Kristján Valur Jónsson
report at bugs.python.org
Thu Mar 29 19:07:22 CEST 2012
Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:
Yes, it is supposed to, but no one is actually looking at that value. It was used in debugging information during PyFloat_Fini() which is no longer relevant if this block information is removed.
Sure, 100 or 10 does not matter, I see 100 being used in some other freelists.
Also, I wasn't able to see any negative benefits of this using pybench.
Here's a thought: I think using the linked list approach using Py_TYPE() is rather neat. Other freelists are mostly implemented using static arrays of pointers. Any thoughts on this? We could unify the approach taken.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14435>
_______________________________________
More information about the Python-bugs-list
mailing list