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:
“She saw a dust bearing bee sink into the sanctum of a bloom; the thousand sister calxes arch to meet the love embrace and the ecstatic shiver of the tree from root to tiniest branch creaming in every blossom and frothing with delight. So this was a marriage!”
—Zora Neale Hurston (18911960)
“Will you greet your doom
As final; set him loaves and wine; knowing
The game is finished when he plays his ace,
And overturn the table and go into the next room?”
—Philip Larkin (19221986)