Convert String to Dictionary question

Jason Orendorff jason at jorendorff.com
Thu Feb 14 18:17:49 EST 2002


MDK wrote:
> Pickling seems too slow.

Really?  What makes you say this?

In some random tests on my box, it seems that 
repr() is a teensy bit faster than cPickle.dumps(), and
eval() is several times slower than cPickle.loads().

## Jason Orendorff    http://www.jorendorff.com/




More information about the Python-list mailing list