[Python-Dev] Python startup time: String objects

Martin v. Löwis martin at v.loewis.de
Thu Mar 25 11:32:29 EST 2004


The following message was sent by Guido van Rossum <guido at python.org> on Thu, 25 Mar 2004 05:48:56 -0800.

> Ah, I misunderstood.  The dict/list isn't marshalled separartely; it
> is built up during (un)marshalling.  Clever.  (Pickling does a similar
> thing.)

Indeed; this is actually a simplified version of the pickle object
sharing.

Armin suggested to remove marshal entirely and use pickle
for storing compiled byte code. It works fine with the version
of pickle that ships with Stackless, but is unfortunately slower
than marshal.

Regards,
Martin



More information about the Python-Dev mailing list