In computer programming, a branch table (sometimes known as a jump table) is a type of 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).
Read more about Branch Table: Typical Implementation, Alternative Implementation Using Addresses, History, Advantages, Disadvantages, Example, Jump Table Example in C, Jump Table Example in PL/I, Compiler Generated Branch Tables, Creating The Index For The Branch Table, Other Uses of Technique
Famous quotes containing the words branch and/or table:
“The optimist proclaims that we live in the best of all possible worlds; and the pessimist fears this is true.”
—James Branch Cabell (18791958)
“the moderate Aristotelian city
Of darning and the Eight-Fifteen, where Euclids geometry
And Newtons mechanics would account for our experience,
And the kitchen table exists because I scrub it.”
—W.H. (Wystan Hugh)