speeding up dictionary creation

Bob van der Poel bvdpoel at uniserve.com
Fri Aug 18 12:04:08 EDT 2000


Moshe Zadka wrote:
> 
> On Fri, 18 Aug 2000, Darrell Gallion wrote:
> 
> > Don't know if this is faster than cPickle or not.
> > Write your data to a dictionary in a .py file which becomes compiled as a
> > .pyc
> > Importing the pyc is pretty fast.
> 
> It is faster, but you don't need to torture yourself -- use the marshal
> module instead of cPickle to serialize your dictionaries. (that's
> the mechanism .py->.pyc uses)
> --
> Moshe Zadka <moshez at math.huji.ac.il>
> There is no IGLU cabal.
> http://advogato.org/person/moshez

Thanks guys. Lots of new ideas to try!

-- 
   __
  /  )      /         Bob van der Poel
 /--<  ____/__        bvdpoel at uniserve.com
/___/_(_) /_)         http://users.uniserve.com/~bvdpoel



More information about the Python-list mailing list