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?
| 1 | initial version |
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?
| 2 | retagged |
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?
| 3 | retagged |
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?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.