Serhiy Storchaka added the comment:

Yes, my CPU is slow.

Here is a patch which factors out IMPORT_NAME into a separate import_name() 
function and adds optimization for more general case when __import__ is not 
overloaded.

----------
Added file: http://bugs.python.org/file36912/faster_import_3.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22557>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to