marshal doesn't work with "file-like" objects
Rainer Deyke
root at rainerdeyke.com
Mon Jan 29 13:59:38 EST 2001
More information about the Python-list mailing list
Mon Jan 29 13:59:38 EST 2001
- Previous message (by thread): marshal doesn't work with "file-like" objects
- Next message (by thread): marshal doesn't work with "file-like" objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
<echuck at mindspring.com> wrote in message news:9546kl$q4$1 at nnrp1.deja.com... > In article <ku4ryj5zt3.fsf at lasipalatsi.fi>, > Erno Kuusela <erno-news at erno.iki.fi> wrote: > > did you try cPickle's binary mode? it is many times faster than > > the default text mode at least on my machine. > > Yes, my benchmark was cPickle vs. marshal. If you look at the extra > benefits that pickle offers over marshal (providing custom hooks, > handling recursive data structures, handling user-defined objects, etc.) > it's clear that marshal pretty much *has* to be faster, provided that > both implementations are high quality. He was refering to binary vs text mode within cPickle, not pickle vs cPickle. -- Rainer Deyke (root at rainerdeyke.com) Shareware computer games - http://rainerdeyke.com "In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor
- Previous message (by thread): marshal doesn't work with "file-like" objects
- Next message (by thread): marshal doesn't work with "file-like" objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list