Re:Goto (2007)
by slaymaker1907 on Thursday October 21, 2021 @12:48PM
(#28947259)
Replying to infiniterand, a table of function pointers is going to generally have way more overhead than an indirect goto. An indirect goto is essentially a single assembly jump instruction. This is also often faster than a while loop plus switch since it is friendlier to the branch predictor.
[ Parent
| on HN ]
There are no comments on this comment yet.