Use of branch tables and other raw data encoding was common in the early days of computing when memory was expensive, CPUs were slower and compact data representation and efficient choice of alternatives were important.
some computer architectures such as IBM/360 use branch tables for dispatching interrupts .