Implementing a jump table