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/2014-April/134062.html below:

[Python-Dev] Timing breakdown of Py_InitializeEx_Private()

[Python-Dev] Timing breakdown of Py_InitializeEx_Private() [Python-Dev] Timing breakdown of Py_InitializeEx_Private()Christian Heimes christian at python.org
Wed Apr 16 09:46:55 CEST 2014
On 16.04.2014 04:35, Guido van Rossum wrote:
> Well, that's the part that does "import site". Anything that speeds up
> the code in Lib/site.py might help. :-)

Antoine, Victor and me have implemented a couple of speed ups for
"import site" already. I removed several unnecessary imports by
rearranging some code. AFAIK imports on OSX haven't been optimized yet.

On Linux I get:

$ ./python -c "import sys; print(len(sys.modules))"
34
$ ./python -S -c "import sys; print(len(sys.modules))"
22

Brett, are you an OSX developer? :)

Christian

More information about the Python-Dev mailing list

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