◐ Shell
clean mode source ↗

Message 260222 - Python tracker

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.