buffer API and pickle
Emmanuel Viennet
emmanuel.viennet at lipn.univ-paris13.fr
Sat Jun 26 10:14:57 EDT 1999
Hi,
I saw the new "buffer" APi in the python 1.5.2 sources,
but was unable to find much more information about it.
It seems that the buffer mecanism would be ideal
to avoid conversion to string (duplicating data in memory)
when writing an object to a stream.
- Is the next version of pickle supposed to make use of
this buffer API ?
- What types of objects will support it:
strings, arrays, NumPy arrays, PIL images, ...
Emmanuel
--
Emmanuel Viennet: <viennet at lipn.univ-paris13.fr>
LIPN - Institut Galilee - Universite Paris-Nord
93430 Villetaneuse - France
http://www-lipn.univ-paris13.fr/~viennet/
More information about the Python-list
mailing list