[Python-3000] pickle, cPickle, and the standard library (was Re: [Python-Dev] inst_persistent_id)

Jesus Cea jcea at argo.es
Tue Feb 5 22:58:20 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Fulton wrote:
| On Jan 25, 2008, at 12:07 AM, Guido van Rossum wrote:
|> (*) I can only speculate that it's because Jim, whose ZODB is probably
|> pickle's most intensive user,
|
| Maybe, but I'm not sure.

Any persistence system is pickle intensive. Aside ZODB, we have Durus
also. Do not forget remote call systems, like Pyro or most instances of
parallel python attempts.

pickle/cpickle performance is important.

In fact, I find "disturbing" that "bencode" (from BitTorrent), done 100%
in python, is faster that cPickle. Yes, "bencode" can't encode arbitrary
objects, but still...

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at argo.es http://www.argo.es/~jcea/ _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
~                               _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBR6jb+5lgi5GaxT1NAQLhnAP8COAFON7zALBX+4peFKH6LwlxA65IptqW
Xg40Z3UZUo5bi67vkCvI/SuNLYpcvez2S5LTBrrlCHTWu4DSdI7/K9KPzQ8rbIdn
EfCwuvSWOAKJ/mvTFA1LP0RixNd/+MTllFq+9TbOIe8EYZ/UbNLj4StqQBNGydjY
KAmntN4VBnE=
=C+TR
-----END PGP SIGNATURE-----


More information about the Python-3000 mailing list