[Python-Dev] Python startup time?

"Martin v. Löwis" martin at v.loewis.de
Tue Aug 10 06:26:05 CEST 2004


Aahz wrote:
> I just remembered that shortly before release of Python 2.3 there was a
> big fuss about the startup time.  Has anyone revisited the issue since
> then?

As Nick says, we looked at it at PyCon. I found that a lot of calls to
string interning are made, and changed the marshal format to share
interned strings, instead of duplicating them. This causes good savings
in disk space; whether it also saves startup time significantly is hard
to prove.

Regards,
Martin



More information about the Python-Dev mailing list