pickle alternative

simonwittber at gmail.com simonwittber at gmail.com
Tue May 31 02:17:56 EDT 2005


I've written a simple module which serializes these python types:

IntType, TupleType, StringType, FloatType, LongType, ListType, DictType

It available for perusal here:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/415503

It appears to work faster than pickle, however, the decode process is
much slower (5x) than the encode process. Has anyone got any tips on
ways I might speed this up?


Sw.




More information about the Python-list mailing list