Best Practices in Rev development
Kay C Lan
lan.kc.macmail at gmail.com
Thu Jun 21 20:52:09 EDT 2007
On 6/22/07, J. Landman Gay <jacque at hyperactivesw.com> 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
More information about the use-livecode
mailing list