[issue13735] The protocol > 0 of cPickle does not given stable dictionary values

Antoine Pitrou report at bugs.python.org
Sun Jan 8 20:02:54 CET 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> Regarding the "marshal", I presume, that somehow the dictionary when
> created via "marshal" (or compile, if no ".pyc" is involved?) first
> time is somehow less efficient to determine/stream that the one
> "cPickle" created.

I don't think so.  marshal uses a much simpler and less general
serialization protocol, so it should theoretically (!) be faster as
well.
For example, I don't think marshal supports recursive structures.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13735>
_______________________________________


More information about the Python-bugs-list mailing list