Marshalling big objects

Josiah Carlson josiah.carlson at sbcglobal.net
Sun Jul 15 21:47:47 EDT 2007


Gabriel Genellina wrote:
> En Sat, 14 Jul 2007 20:04:21 -0300, Orlando Döhring <orl at gmx.de> escribió:
> 
>> I want to marshal objects:
>>
>> - http://docs.python.org/lib/module-marshal.html
>> where I have problems with a bigger objects, e.g.
> 
> Any specific reason you use this module? As a general purpose 
> serializer, use pickle (or cPickle) instead.

For a really good reason why to use cPickle/pickle for large object 
serialization is because the marshal module uses a very conservative 
memory resize, so tends to be slow for large objects.

  - Josiah




More information about the Python-list mailing list