On 4/8/2016 12:22 AM, Marko Rauhamaa wrote:
Paul Rubin <no.email@nospam.invalid>:

Marko Rauhamaa <ma...@pacujo.net> writes:
Guido chose a different method to implement timers for asyncio. He
decided to never remove canceled timers.

Only initially. He approved a change immediately when presented with a concrete problem.

Oh my, that might not end well. There are other approaches that don't
need AVL trees and can remove cancelled timers, e.g. "timer wheels" as
used in Erlang and formerly (don't know about now) in the Linux
kernel.

The issue is known. It has been tackled with a kind of a "garbage
collection" scheme:

    <URL: https://bugs.python.org/issue22448>

and fixed 1 1/2 years ago.


--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to