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

Runner refactor #221

Merged
merged 9 commits into from
Sep 20, 2018
Merged

Runner refactor #221

merged 9 commits into from
Sep 20, 2018

Conversation

cicdw
Copy link
Member

@cicdw cicdw commented Sep 19, 2018

Closes #211 and cleans up the mapping logic 💯

Also adds a "test" for some form of mapping caching --> there's a discussion to be had about the correct way of doing this. Basically, in order for caching to work as expected, executor.map() would additionally need to handle state and inputs keywords, appropriately unpacking them (in the mapped case, they would be provided as lists). This started to feel like a blurred responsibility, so I didn't push on it for this PR.

@cicdw cicdw requested a review from jlowin as a code owner September 19, 2018 16:32
Copy link
Member

@jlowin jlowin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice. Even the git diff shows how much cleaner it is.

@cicdw cicdw merged commit b839072 into master Sep 20, 2018
@cicdw cicdw deleted the runner-refactor branch September 20, 2018 00:51
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