Using a switch case vs array with pointers..

I smell premature optimization…