出典:Wikipedia
出典:『Wikipedia』 (2011/06/18 15:36 UTC 版)
In computer programming, a branch table (sometimes known as a jump table) is a term used to describe an efficient method of transferring program control (branching) to another part of a program (or a different program that may have been dynamically loaded) using a table of branch instructions. It is a form of multiway branch. The branch table construction is commonly used when programming in assembly language but may also be generated by a compiler, especially when implementing an optimized switch statement (where known, small ranges are involved with few gaps).