[issue31147] a suboptimal check in list_extend()

Oren Milman report at bugs.python.org
Sun Aug 13 15:14:51 EDT 2017


Oren Milman added the comment:

thank you for the elaborate reply :)

do you feel the same about changing the check to
(Py_SIZE(self) < (self->allocated >> 1)) ?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31147>
_______________________________________


More information about the Python-bugs-list mailing list