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

Add parallel map utility #3153

Merged
merged 2 commits into from
Feb 19, 2019
Merged

Add parallel map utility #3153

merged 2 commits into from
Feb 19, 2019

Conversation

lovesegfault
Copy link
Contributor

Following #3003 and #3006, and the now long-forgotten promises I made, here is the parallel_map function making it into utils! This way we can now very easily apply transforms to the library in a parallel way (in Py3) while remaining compatible with Py2.

This also converts absubmit to use the new util. Expect updates to #3006 as well!

@sampsyo
Copy link
Member

sampsyo commented Feb 19, 2019

Awesome; thank you for factoring this out! I've merged this and committed some refinements to the docstring (and a new comment).

@sampsyo sampsyo merged commit 1dad5de into beetbox:master Feb 19, 2019
sampsyo added a commit that referenced this pull request Feb 19, 2019
sampsyo added a commit that referenced this pull request Feb 19, 2019
@lovesegfault lovesegfault deleted the parallel-map branch February 19, 2019 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants