Sending binary pickled data through TCP

David Hirschfield davidh at ilm.com
Fri Oct 13 14:20:12 EDT 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.

-Dave

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.
>
> </F>
>
>   

-- 
Presenting:
mediocre nebula.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20061013/0c223aff/attachment.html>


More information about the Python-list mailing list