Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

HowTo implement filter for multiprocessing module?

from multiprocessing import Pool
p = Pool(2)

I notice that p.map() is implemented, but not p.filter(). What's a good idiom for filter() over multiple processes/cores?

click to hide/show revision 2
retagged

HowTo implement filter for multiprocessing module?

from multiprocessing import Pool
p = Pool(2)

I notice that p.map() is implemented, but not p.filter(). What's a good idiom for filter() over multiple processes/cores?

click to hide/show revision 3
retagged

HowTo implement filter for multiprocessing module?

from multiprocessing import Pool
p = Pool(2)

I notice that p.map() is implemented, but not p.filter(). What's a good idiom for filter() over multiple processes/cores?