Re: switch statement
- Posted by Critic Mar 26, 2009
- 1328 views
euphoric said...
Okay, now I remember why it was a good idea. SPEEEEEEEEEED!!!
Speed is no justification for a bad syntax (a "select" statement can be optimized just like a "switch"). Apart from that, an "if"-"elsif"-statement can be optimized into a jump table too.