Sending binary pickled data through TCP
davidh at ilm.com
Fri Oct 13 20:20:12 CEST 2006
I'm using cPickle already. I need to be able to pickle pretty
arbitrarily complex python data structures, so I can't use marshal.
I'm guessing that cPickle is the best choice, but if someone has a
faster pickling-like module, I'd love to know about it.
Fredrik Lundh wrote:
> David Hirschfield wrote:
>> Are there any existing python modules that do the equivalent of pickling
>> on arbitrary python data, but do it a lot faster? I wasn't aware of any
>> that are as easy to use as pickle, or don't require implementing them
>> myself, which is not something I have time for.
> cPickle is faster than pickle. marshal is faster than cPickle, but only
> supports certain code object types.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list