A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-May/035370.html below:

[Python-Dev] Startup time

[Python-Dev] Startup timeMartin v. Löwis martin@v.loewis.de
06 May 2003 19:35:40 +0200
Guido van Rossum <guido@python.org> writes:

> While Python's general speed has gone up, its startup speed has slowed
> down!

Hear hear! I always thought you didn't care about startup time at all
:-)

> I have no time to investigate the cause right now, although I have a
> suspicion that the problem might be in loading too much of the
> encoding framework at start time (I recall Marc-Andre and Martin
> debating this earlier).

That would be easy to determine: Just disable the block

#if defined(Py_USING_UNICODE) && defined(HAVE_LANGINFO_H) && defined(CODESET)

in pythonrun.c, and see whether it changes anything. To my knowledge,
this is the only cause of loading encodings during startup on Unix.

Regards,
Martin




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4