Re: Marshalling big objects

Discussion in 'Python' started by Gabriel Genellina, Jul 15, 2007.

  1. En Sat, 14 Jul 2007 20:04:21 -0300, Orlando Döhring <> escribió:

    > I want to marshal objects:
    >
    > - http://docs.python.org/lib/module-marshal.html
    > where I have problems with a bigger objects, e.g.


    Any specific reason you use this module? As a general purpose serializer,
    use pickle (or cPickle) instead.

    --
    Gabriel Genellina
     
    Gabriel Genellina, Jul 15, 2007
    #1
    1. Advertising

  2. Gabriel Genellina wrote:
    > En Sat, 14 Jul 2007 20:04:21 -0300, Orlando Döhring <> escribió:
    >
    >> I want to marshal objects:
    >>
    >> - http://docs.python.org/lib/module-marshal.html
    >> where I have problems with a bigger objects, e.g.

    >
    > Any specific reason you use this module? As a general purpose
    > serializer, use pickle (or cPickle) instead.


    For a really good reason why to use cPickle/pickle for large object
    serialization is because the marshal module uses a very conservative
    memory resize, so tends to be slow for large objects.

    - Josiah
     
    Josiah Carlson, Jul 16, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?iso-8859-1?Q?=22Orlando_D=F6hring=22?=

    Marshalling big objects

    =?iso-8859-1?Q?=22Orlando_D=F6hring=22?=, Jul 15, 2007, in forum: Python
    Replies:
    0
    Views:
    292
    =?iso-8859-1?Q?=22Orlando_D=F6hring=22?=
    Jul 15, 2007
  2. Shaguf
    Replies:
    0
    Views:
    559
    Shaguf
    Dec 24, 2008
  3. Shaguf
    Replies:
    0
    Views:
    506
    Shaguf
    Dec 26, 2008
  4. Shaguf
    Replies:
    0
    Views:
    277
    Shaguf
    Dec 26, 2008
  5. Shaguf
    Replies:
    0
    Views:
    257
    Shaguf
    Dec 24, 2008
Loading...

Share This Page