[issue35466] Use a linked list for the ceval pending calls.

Eric Snow report at bugs.python.org
Tue Dec 11 18:02:30 EST 2018


Eric Snow <ericsnowcurrently at gmail.com> added the comment:

I suppose performance could have been a motivator originally.  However, I don't see a benefit now that signals handlers are no longer pending calls.  If it's a real problem then we can leverage a free list.

As to complexity, the motivator for this change was difficulty I had (along with another core dev) in quickly understanding the logic for manipulating the circular buffer.  I find the linked list much easier to understand.

----------
nosy: +emilyemorehouse

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


More information about the Python-bugs-list mailing list