diff options
author | Mark Shannon <mark@hotpy.org> | 2021-08-11 13:02:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 13:02:11 (GMT) |
commit | f66d00fdd7e9a333accc6bf0e37173051aaa55d0 (patch) | |
tree | 78f5146f79633bbd6a3b61348a14f11351dd5ea4 /Misc | |
parent | 3f3d5dcac336463bd0eed64ba0bd7666ff2da1e1 (diff) | |
download | cpython-f66d00fdd7e9a333accc6bf0e37173051aaa55d0.zip cpython-f66d00fdd7e9a333accc6bf0e37173051aaa55d0.tar.gz cpython-f66d00fdd7e9a333accc6bf0e37173051aaa55d0.tar.bz2 |
bpo-44878: Remove the switch from the main interpreter loop when using computed gotos. (GH-27726)
* Refactor dispatch logic to make flow of control clearer. Moves lltrace and dxprofile instrumentation into DISPATCH macro.
* Remove switch in interpreter loop when using computed gotos. There is no need for two nearly-duplicate dispatch tables.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2021-08-11-12-03-52.bpo-44878.nEhjLi.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-08-11-12-03-52.bpo-44878.nEhjLi.rst b/Misc/NEWS.d/next/Core and Builtins/2021-08-11-12-03-52.bpo-44878.nEhjLi.rst new file mode 100644 index 0000000..7998140 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2021-08-11-12-03-52.bpo-44878.nEhjLi.rst @@ -0,0 +1,2 @@ +Remove switch statement for interpreter loop when using computed gotos. This +makes sure that we only have one dispatch table in the interpreter. |