Message 269400 - Python tracker

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Content
faster_import_pkg.patch optimizes also an import of names with dots.

$ ./python -m timeit 'import os.path'
Unpatched:                100000 loops, best of 3: 2.08 usec per loop
faster_import_5.patch:    1000000 loops, best of 3: 1.79 usec per loop
faster_import_pkg.patch:  1000000 loops, best of 3: 0.474 usec per loop