Message318020
I'm sorry, it isn't clear what optimizations for float(X) and int(X) you are referring to.
I can only guess that you want to optimize:
float(0)
to use LOAD_CONST 0.0 instead of calling the float() function. If that is what you want, we can't do that because float() may have been shadowed or replaced. Optimizing 1+1 is safe because it involves only literals and operators, no name look-ups.
If that is not what you want, please explain what optimization you are referring to. |
|
Date |
User |
Action |
Args |
2018-05-29 12:54:24 | steven.daprano | set | recipients:
+ steven.daprano, vstinner, matrixise |
2018-05-29 12:54:24 | steven.daprano | set | messageid: <1527598464.57.0.682650639539.issue33682@psf.upfronthosting.co.za> |
2018-05-29 12:54:24 | steven.daprano | link | issue33682 messages |
2018-05-29 12:54:24 | steven.daprano | create | |
|