[issue11815] Simplifications in concurrent.futures

Antoine Pitrou report at bugs.python.org
Sun Apr 10 01:45:14 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

A further optimization would be to use a SimpleQueue (from multiprocessing.queues) for the result_queue in the ProcessPoolExecutor. A SimpleQueue is much more light-weight than a normal Queue, which has a bunch of additional locks and a dedicated thread.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11815>
_______________________________________


More information about the Python-bugs-list mailing list