Glenn Langford added the comment:

Uploading proposed new version of as_completed() for review. Note the following 
changes:

- does not install waiters for Futures which are completed
- locks only one Future at a time to improve concurrency (rather than locking 
all Futures at once); traverses Futures in the order given, as no need to sort 
into a canonical order
- immediately yields each completed Future, without waiting to lock and examine 
other Futures
- fixes locking bug in waiter removal

----------
Added file: http://bugs.python.org/file33590/as_completed_proposed.py

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

Reply via email to