summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2021-08-11 13:02:11 (GMT)
committerGitHub <noreply@github.com>2021-08-11 13:02:11 (GMT)
commitf66d00fdd7e9a333accc6bf0e37173051aaa55d0 (patch)
tree78f5146f79633bbd6a3b61348a14f11351dd5ea4 /Misc
parent3f3d5dcac336463bd0eed64ba0bd7666ff2da1e1 (diff)
downloadcpython-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.rst2
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.