pickle alternative

mdoukidis at gmail.com mdoukidis at gmail.com
Wed Jun 1 22:51:47 EDT 2005


Running stest.py produced these results for me:

marshal enc T: 12.5195908977
marshal dec T: 0.134508715493
sencode enc T: 3.75118904777
sencode dec T: 5.86602012267
11.9369997978
0.109000205994
True

Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
on win32

Notice the slow "marshal enc"oding.
Overall this recipe is faster than marshall for me.

Mark




More information about the Python-list mailing list