Eli Bendersky personal blog

Computed goto for efficient dispatch tables

Recently, while idly browsing through the source code of Python, I came upon an interesting comment in the bytecode VM implementation ( Python/ceval.c ) about using the computed gotos extension of GCC [1] . Driven by curiosity, I decided to code a simple example to evaluate the difference between using a computed goto…
Points
0
HN comments
0
Submissions
0
Cited by
20 commenters

Software EngineeringSystems & Performance2012

Cited in comments

Linked from 21 Hacker News comments by 20 different people, from Jul 2012 to Aug 2025.

Most recent:

Search every comment that links here →

More from Eli Bendersky

All 57 posts →

Related posts from the same era