Branch Table

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:

    “In communist society, where nobody has one exclusive sphere of activity but each can become accomplished in any branch he wishes, society regulates the general production and thus makes it possible for me to do one thing today and another tomorrow, to hunt in the morning, fish in the afternoon, rear cattle in the evening, criticize after dinner, just as I have a mind, without ever becoming hunter, fisherman, shepherd or critic.”
    —Karl Marx (1818–1883)

    “Many a time I have seen my mother leap up from the dinner table to engage the swarming flies with an improvised punkah, and heard her rejoice and give humble thanks simultaneously that Baltimore was not the sinkhole that Washington was.”
    —H.L. (Henry Lewis)