You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Optimize int operations by mutating uniquely-referenced operands in place (JIT only) #146640
When the tier 2 optimizer can prove that an operand to a int binary operation is uniquely referenced, we can mutate it in place instead of allocating a new object. This avoids a an int allocation and the subsequent deallocation of the consumed operand on every iteration.
The approach is similar to #146307. Also see #90530.
Activity
gh-146640: Optimize int operations by mutating uniquely-referenced op…
pythongh-146640: Optimize int operations by mutating uniquely-referen…