[Python-Dev] 2.3 startup speed?
Jeremy Hylton
jeremy@zope.com
11 Jul 2003 09:50:04 -0400
On Thu, 2003-07-10 at 16:32, Martin v. L=F6wis wrote:
> Aahz <aahz@pythoncraft.com> writes:
>=20
> > Did anyone ever check in fixes for that?
>=20
> Yes, MAL checked in a patch, to remove re usage in
> encodings/__init__.py. Nobody ever verified whether this had any
> impact - most likely the impact was not significant.
It looks like Python 2.2.3 and 2.3 both import re.
The primary difference that I see between the two is that 2.3 imports
the warnings module, which entails 7 more imports.
+ import warnings
+ import linecache
+ import encodings
+ import encodings
+ import codecs
+ import _codecs
+ import encodings.aliases
+ import encodings.iso8859_15
Jeremy