pickle, marshal, ?

Max Khesin max at cNOvSisiPonAtecMh.com
Wed May 28 15:44:41 EDT 2003


You are absolutely right - I should've used a crossover cable here :). Any
suggestion on a library with my requirements?

thanks,

--
========================================
Max Khesin, software developer -
max at cNvOiSsPiAoMntech.com
[check out our image compression software at www.cvisiontech.com, JBIG2-PDF
compression @
www.cvisiontech.com/cvistapdf.html]


"Erik Max Francis" <max at alcyone.com> wrote in message
news:3ED50EFA.A96972B0 at alcyone.com...
> Max Khesin wrote:
>
> > pickle is introduced as very fast but version dependent can for simple
> > data
> > structures only. marshal is relatively slow but version-independent
> > and
> > supports complex data structures. I am looking for something that is
> > version-independent but trades off data structure complexity for speed
> > - it
> > only needs to do lists, dictionaris & strings.
>
> Sounds like you have these reversed.  pickle is the one that's
> version-independent; marshal is the one that's explicitly documented as
> "Details of the format are undocumented on purpose; it may change
> between Python versions (although it rarely does)."
>
> --
>    Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
>  __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
> /  \ Your theory is not right; it is not even wrong.
> \__/  Wolfgang Pauli






More information about the Python-list mailing list