Antoine Pitrou <pit...@free.fr> added the comment:

I agree with the points raised against Josiah's patch. I'm not sure O(n) 
cancellation is really a concern. The main focus of optimization should be the 
scheduler's loop itself, and both approaches have an O(log n) complexity there 
AFAICT. Also, the cancellation optimization could be backported into 
Giampaolo's patch.

One area tests should check for is when scheduling operations are done from a 
delayed call. Especially, a delayed call rescheduling itself.

By the way, it's too late for 2.7, so this is only for 3.2 now.

----------
stage:  -> patch review
versions: +Python 3.2 -Python 2.7, Python 3.1

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1641>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to