Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parallel_processing.multiprocess_functions could be much simpler #37

Open
jairideout opened this issue Sep 16, 2013 · 2 comments
Open

Comments

@jairideout
Copy link
Contributor

I think parallel_processing.multiprocess_functions could be simplified by using multiprocessing.Pool, since we're specifying a number of functions to be run, a number of processes, and then blocking until we have all of the results. Using a Pool, we can easily accomplish this with a parallel map.

@rybern do you see any issues with this versus what you have in place now? See this page for details.

@rybern
Copy link
Contributor

rybern commented Sep 17, 2013

Yep, I'm sure we could do this. I read about this after I finished my implementation, and decided it wasn't a priority since what I have works. If you want, I think this would be pretty easy to figure out.

@jairideout
Copy link
Contributor Author

Not a high priority, but good to keep in mind for future cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants