SPUG: Is a case statement or an if-elsif-else statement faster?

Duane Blanchard dblanchard at gmail.com
Tue Aug 9 17:13:24 PDT 2005

I have a series of if statements that should be collapsed into a
single case statement or an
if-elsif-elsif-elsif-elsif-elsif-elsif-elsif-elsif-else statement. Is
one faster than the other?

Duane Blanchard

There are 10 kinds of people in the world;
those who know binary and those who don't.

More information about the spug-list mailing list