]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44878: Remove the switch from the main interpreter loop when using computed gotos...
authorMark Shannon <mark@hotpy.org>
Wed, 11 Aug 2021 13:02:11 +0000 (14:02 +0100)
committerGitHub <noreply@github.com>
Wed, 11 Aug 2021 13:02:11 +0000 (14:02 +0100)
commitf66d00fdd7e9a333accc6bf0e37173051aaa55d0
tree78f5146f79633bbd6a3b61348a14f11351dd5ea4
parent3f3d5dcac336463bd0eed64ba0bd7666ff2da1e1
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.
Misc/NEWS.d/next/Core and Builtins/2021-08-11-12-03-52.bpo-44878.nEhjLi.rst [new file with mode: 0644]
Python/ceval.c