[Numpy-discussion] Re: weird interaction: pickle, numpy, matplotlib.hist
Francesc Altet
faltet at carabos.com
Thu Apr 6 03:44:02 EDT 2006
A Dijous 06 Abril 2006 11:44, Travis Oliphant va escriure:
> But, this brings up the point that currently the pickled raw-data which
> is read-in as a string by Python is used as the memory for the new array
> (i.e. the string memory is "stolen"). This should work. The fact
> that it didn't with sort was a bug that is now fixed in SVN. However,
> operations on out-of-byte-order arrays will always be slower. Thus,
> perhaps on pickle read the data should be copied to native byte-order if
> necessary.
Yes, I think that converting directly to native byteorder in
unpickling time would be the best.
Cheers!
--
>0,0< Francesc Altet http://www.carabos.com/
V V Cárabos Coop. V. Enjoy Data
"-"
More information about the NumPy-Discussion
mailing list