Optimiser for static C string switches in C/C++