[Numpy-discussion] xml-rpc with numpy arrays
Brian Blais
bblais at bryant.edu
Wed Oct 1 05:50:47 EDT 2008
On Sep 30, 2008, at 23:16 , Lisandro Dalcin wrote:
> On Tue, Sep 30, 2008 at 9:27 PM, Brian Blais <bblais at bryant.edu>
>> thanks for all of the help. My initial solution is to pickle my
>> object,
>> with the text-based version of pickle, and send it across rpc. I
>> do this
>> because the actual thing I am sending is a dictionary, with lots
>> of arrays,
>> and other things. I'll have a look at the format that Robert
>> sent, because
>> that looks useful for other things I am doing.
>
> Did you try to send binary pickles (protocol=2)? Perhaps it works,
> give a try! Of course, you need the client and server machines having
> the same arch.
I tried that first, and marshal doesn't handle binary streams, so
that's when I tried the text version. I'm not sending a lot of info,
so it's not that big of a deal. Most of the time is spent on the
simulation on the other end.
bb
--
Brian Blais
bblais at bryant.edu
http://web.bryant.edu/~bblais
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20081001/a73e7195/attachment.html>
More information about the NumPy-Discussion
mailing list