Use jump tables for switch