commit | adcd2205565f91c6719f4141ab4e1da6d7086126 | [log] [tgz] |
---|---|---|
author | Mark Shannon <mark@hotpy.org> | Fri May 07 15:19:19 2021 +0100 |
committer | GitHub <noreply@github.com> | Fri May 07 15:19:19 2021 +0100 |
tree | 0953b285944eccde57b05b8f3c7e30fb501a3d64 | |
parent | b32c8e97951db46484ba3b646b988bcdc4062199 [diff] |
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%.