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.
>
> 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>


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

Reply via email to