[New-bugs-announce] [issue43760] The DISPATCH() macro is not as efficient as it could be.

Mark Shannon report at bugs.python.org
Wed Apr 7 05:35:49 EDT 2021


New submission from Mark Shannon <mark at hotpy.org>:

The DISPATCH() macro has two failings.

1. Its check for tracing involves too much pointer chaser.

2. The logic assumes that computed-gotos is the "fast path" which makes switch dispatch, and therefore Python on Windows unnecessarily slow.

----------
messages: 390410
nosy: Mark.Shannon
priority: normal
severity: normal
status: open
title: The DISPATCH() macro is not as efficient as it could be.

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43760>
_______________________________________


More information about the New-bugs-announce mailing list