On 6/22/07, J. Landman Gay <[EMAIL PROTECTED]> wrote:

I read somewhere a long time ago that switch statements run faster than
if/else.


I was able to track down the thread on this list about this. Unfortunately I
access this List via gMail so I can't provide an easy hyperlink, but for
those who are out to make their code the fastest possible you may wish to
track this down:

Originator: Mark Swindell
Date: 10/22/06
Subject: Switch Case Question

Included some excellent detective work by Dar Scott which explained why
seemingly similar Switch vs If statements would provided different 'winners'
in the speed tests.

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

Reply via email to