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?