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
Allow LOAD_FAST_BORROW with exception blocks #162066
The compiler replaces LOAD_FAST by the cheaper LOAD_FAST_BORROW wherever it can show that the local variable outlives the loaded value. The pass that does this never looks at exception handlers, so code in a handler, or code that can only be reached through one, keeps its LOAD_FAST instructions. This affects except and finally bodies, the cleanup code of with statements, code after a try whose body returns, and all code that follows an async for loop.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Activity