[issue45843] Optimizing LOAD_CONST followed by COMPARE_OP (or IS_OP)

Batuhan Taskaya report at bugs.python.org
Sat Nov 20 15:18:57 EST 2021


Batuhan Taskaya <isidentical at gmail.com> added the comment:

> Result of `255581293 > 12938373 and 113314 < 2`:

Is there a similar pattern that happens a lot on the client code? The AST optimizer currently only optimizes common cases.

----------
nosy: +BTaskaya, pablogsal, serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45843>
_______________________________________


More information about the Python-bugs-list mailing list