Author josh.r
Recipients andreasvc, bquinlan, josh.r
Date 2014-05-06.21:07:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399410440.78.0.380990049989.issue21423@psf.upfronthosting.co.za>
In-reply-to
Content
Do you mean ProcessPoolExecutor? Thread based pools don't involve serialization.

It would be good for ThreadPoolExecutor to have it as well, to make it easier to switch between executors, but only ProcessPoolExecutor is suffering from serialization overhead. Threads share the same memory space after all; references to data get passed directly, though you might choose to copy.copy or copy.deepcopy a root data "template" so each thread has its own unique copy that it can mutate.
History
Date User Action Args
2014-05-06 21:07:20josh.rsetrecipients: + josh.r, bquinlan, andreasvc
2014-05-06 21:07:20josh.rsetmessageid: <1399410440.78.0.380990049989.issue21423@psf.upfronthosting.co.za>
2014-05-06 21:07:20josh.rlinkissue21423 messages
2014-05-06 21:07:20josh.rcreate