[issue37340] remove free_list for bound method objects

Jeroen Demeyer report at bugs.python.org
Wed Jun 19 09:17:35 EDT 2019


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

> GH-14232 uses only one free object instead of at most 256 free list.

That sounds like a compromise which is worse than either extreme: it's worse than no free list because you still have the overhead of dealing with the one object. And it's worse than a free list of 256 because it won't for nested calls.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37340>
_______________________________________


More information about the Python-bugs-list mailing list