Skip to content

Fewer __get/setitem__ roundtrips.#355

Merged
kwmsmith merged 5 commits into
enthought:masterfrom
cowlicks:roundtrips
May 13, 2014
Merged

Fewer __get/setitem__ roundtrips.#355
kwmsmith merged 5 commits into
enthought:masterfrom
cowlicks:roundtrips

Conversation

@cowlicks
Copy link
Copy Markdown
Contributor

@cowlicks cowlicks commented May 1, 2014

Closes #339
Reimplements DistArray.__get/setitem__ to only use one round trip.

@cowlicks cowlicks changed the title Roundtrips Fewer __get/setitem__ roundtrips. May 1, 2014
@kwmsmith kwmsmith added this to the 0.3 milestone May 1, 2014
Comment thread distarray/client.py Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, we definitely need to think about the current ns management...

@cowlicks
Copy link
Copy Markdown
Contributor Author

cowlicks commented May 4, 2014

rebased

1 similar comment
@cowlicks
Copy link
Copy Markdown
Contributor Author

cowlicks commented May 5, 2014

rebased

@cowlicks
Copy link
Copy Markdown
Contributor Author

cowlicks commented May 7, 2014

rebase this on PR #366

@cowlicks
Copy link
Copy Markdown
Contributor Author

cowlicks commented May 9, 2014

__get/setitem__ now use the new context.apply method.

@kwmsmith
Copy link
Copy Markdown
Contributor

@cowlicks could you incorporate the new Context.apply() into this PR?

@cowlicks
Copy link
Copy Markdown
Contributor Author

@kwmsmith It is in there. See 3430231.

Comment thread distarray/dist/distarray.py Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please update or remove this comment -- I think that's what made me think you weren't using the new context.apply() method.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@kwmsmith done

kwmsmith added a commit that referenced this pull request May 13, 2014
Fewer __get/setitem__ roundtrips.
@kwmsmith kwmsmith merged commit ca9842d into enthought:master May 13, 2014
@cowlicks cowlicks deleted the roundtrips branch May 13, 2014 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reduce communication for DistArray.__getitem__ and __setitem__

2 participants