STINNER Victor added the comment:

TODO: implement a fast-path for PyCode_Optimize() avoiding completly the 
"expensive" code transformer API, before the first call to 
sys.set_code_transformer().

It would avoid list <=> tuple conversions for code constants, and the need of 
creating two code objects.

In practice, this fast-path should be taken in most cases.

----------

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

Reply via email to