Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 6,949 posts.

Systems & Performance
Any year
6946

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…