Greg Ewing wrote:
Travis Oliphant wrote:
I'm proposing to pickle the buffer object so that it unpickles as a
string.
Wouldn't this mean you're only solving half the problem?
Unpickling a Numeric array this way would still use an
intermediate string.
Well, actually, unpickling in the new numeric
Greg Ewing wrote:
> Wouldn't this mean you're only solving half the problem?
> Unpickling a Numeric array this way would still use an
> intermediate string.
Precisely my concern.
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.pyth
Travis Oliphant wrote:
I'm proposing to pickle the buffer object so that it unpickles as a
string.
Wouldn't this mean you're only solving half the problem?
Unpickling a Numeric array this way would still use an
intermediate string.
--
Greg Ewing, Computer Science Dept, +---
Before submitting a patch to pickle.py and cPickle.c, I'd be interested
in knowing how likely to be accepted a patch that allows Python to
pickle the buffer object.
The problem being solved is that Numeric currently has to copy all of
its data into a string before writing it out to a pickle.