SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

bpo-40222: "Zero cost" exception handling (GH-25729)

"Zero cost" exception handling.

* Uses a lookup table to determine how to handle exceptions.
* Removes SETUP_FINALLY and POP_TOP block instructions, eliminating (most of) the runtime overhead of try statements.
* Reduces the size of the frame object by about 60%.
M
Mark Shannon committed
adcd2205565f91c6719f4141ab4e1da6d7086126
Parent: b32c8e9
Committed by GitHub <[email protected]> on 5/7/2021, 2:19:19 PM