[Python-Dev] Timing breakdown of Py_InitializeEx_Private()
Terry Reedy
tjreedy at udel.edu
Wed Apr 16 15:49:01 CEST 2014
More information about the Python-Dev mailing list
Wed Apr 16 15:49:01 CEST 2014
- Previous message: [Python-Dev] Timing breakdown of Py_InitializeEx_Private()
- Next message: [Python-Dev] cpython (2.7): do not generate pipe names in the temporary dir
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 4/16/2014 3:46 AM, Christian Heimes wrote: > 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 With 3.4.0 installed on Windows, or 3.5 repository, 39 and 25 -- Terry Jan Reedy
- Previous message: [Python-Dev] Timing breakdown of Py_InitializeEx_Private()
- Next message: [Python-Dev] cpython (2.7): do not generate pipe names in the temporary dir
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list