Antoine Pitrou <pit...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11815>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to