performance tuning of c decoder. no more switches.