marshal doesn't work with "file-like" objects

echuck at mindspring.com echuck at mindspring.com
Sun Jan 28 00:22:48 EST 2001


In article <mailman.980557896.25345.python-list at python.org>,
  Neil Schemenauer <nas at arctrix.com> wrote:
> Won't cPickle work?
>
>   Neil

Yes, but:

1. My benchmarks (which I don't have anymore) showed marshal to be MUCH
faster than cPickle
2. I'm serializing dictionaries that contain strings and numbers, e.g.,
I don't need any features that pickle has over marshal
3. I'm trying to keep overhead down as much as possible.


Thanks for the thought,
-Chuck


Sent via Deja.com
http://www.deja.com/



More information about the Python-list mailing list