I just ran a very simple benchmark test, which suggests that if/then goes about 20% faster than switch/case.

Best,

Mark

On 26 Feb 2007, at 02:33, Hershel Fisch wrote:

On 2/25/07 9:21 PM, "Jim Ault" <[EMAIL PROTECTED]> wrote:

How about speed?
Hershel

On 2/25/07 6:16 PM, "Hershel Fisch" <[EMAIL PROTECTED]> wrote:

Hi every one, how would one put the differences between multiple if, else
if's vs. case's

It is a matter of personal choice and programming style.
They both work, and without good notations can become just as confusing next
year when try to figure out what the heck you were thinking.

Jim Ault
Las Vegas


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to