A single call to DistArray.__getitem__ and __setitem__ does 3 (!) roundtrips between the client and engines. There should be just one roundtrip. I'd also like to remove the ._execute() calls, to be replaced with a call to apply_sync() (or apply_async()).
A single call to
DistArray.__getitem__and__setitem__does 3 (!) roundtrips between the client and engines. There should be just one roundtrip. I'd also like to remove the._execute()calls, to be replaced with a call toapply_sync()(orapply_async()).