Large switch case statement optimisation question.
Hello! Beginner C++ programmer here. While creating a program which turns alphanumerical input into big ASCII art characters, I made a desition which I'm not sure of if it is good practise to do. Basically, I made a huge switch case statement that loops through every character in the user input (max 24) times. The switch case statement is about 60 cases long. My question is, if it is terribly inefficient to have that big of a switch case. Does the compiler (gcc) have some crazy way to optimise it, or will the compiled program be way too large to make this a reasonable solution? If it is bad practise, can you think of an alternative and tell me? Also, if the compiler does some cool stuff, I would like to read about it if you can link it to me :P. Thanks in advance for helping me out!