[issue44501] Packing constant call arguments

Batuhan Taskaya report at bugs.python.org
Sat Jul 3 11:14:12 EDT 2021


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

> BTW, why do you not fold 2-argument calls?

Seems like it is making stuff worse. 

> I suspect that in most of other examples the function execution time is too large to make the optimization meaningful.

This is (to some extent) a constant folding pass, so I don't think it makes sense to expect it to optimize the general workload of the function.

----------

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


More information about the Python-bugs-list mailing list