Re: Switch or if

2009-05-01 Thread Sarah Reichelt
> I think there may be some sort of mail server hiccup going on today, because > I just got several messages from on or about that date. Anybody else? Yes, I've got lots dated around April 15. Sarah ___ use-revolution mailing list use-revolution@lists.r

Re: Switch or if

2009-05-01 Thread Devin Asay
On May 1, 2009, at 11:34 AM, Richmond Mathewson wrote: That's funny, I 'm sure this topic was discussed fairly exhaustively in April; the topic being raised exactly by you "Camm" on Monday April 20. So . . . what is the point of this? I think there may be some sort of mail server hiccup go

Re: Switch or if

2009-05-01 Thread Richmond Mathewson
That's funny, I 'm sure this topic was discussed fairly exhaustively in April; the topic being raised exactly by you "Camm" on Monday April 20. So . . . what is the point of this? customerserv...@easyobdii.com wrote: Dear all , Which is faster in execution SWITCH OR IF ? Regards Camm __

Re: Switch or If

2009-04-23 Thread Kay C Lan
You may wish to look back at these two threads, lots of benchmarking, sorry I haven't figured out how to create links to old threads :-( Subject: if statements vs case Date: 27 feb 07 From: Hershel Fisch Subject: switch case question Date: 10/22/06 From: Mark Swindell Basically what has been sai

RE: Switch or If

2009-04-23 Thread Randall Reetz
My spelling is so "creative" that i am forced to choose tourette's over randall's every time. If that i could use xtalk in conversation... -Original Message- From: "stephen barncard" To: "How to use Revolution" Sent: 4/23/2009 11:50 AM Subje

Re: Switch or If

2009-04-23 Thread Richmond Mathewson
Hey, that was the only thing useful I learnt doing my "M.A" in IT at Abertay: what happens when you are hit by a number 10 bus? This is the reason my Granny always slipped on a clean pair before she went shopping. :) Now, I am a bad programmer in several respects; and the worst is that I don

Re: Switch or If

2009-04-23 Thread stephen barncard
And one can't turn that foolishness off? I hate predictive text. - Stephen Barncard San Francisco http://barncard.com 2009/4/23 Randall Reetz > My phone uses the special Microsoft "Tourette's" word prediction algorithm. > > In my previous post, I intended "of", not "OS"

RE: Switch or If

2009-04-23 Thread Randall Reetz
My phone uses the special Microsoft "Tourette's" word prediction algorithm. In my previous post, I intended "of", not "OS". Randall -Original Message- From: "Randall Reetz" To: "How to use Revolution" Sent: 4/23/2009 9:11 AM

Re: Switch or If

2009-04-23 Thread Richard Gaskin
Phil Davis wrote: Unless you're building something where the small difference in speed is absolutely critical, I would seek to answer a different question: Which structure will be easier to understand and maintain in the future when I (or others) come back to it? Wise words. While I often a

RE: Switch or If

2009-04-23 Thread Randall Reetz
ot; Sent: 4/23/2009 8:29 AM Subject: Re: Switch or If Hi Camm, Unless you're building something where the small difference in speed is absolutely critical, I would seek to answer a different question: Which structure will be easier to understand and maintain in the future when I (or other

Re: Switch or If

2009-04-23 Thread Phil Davis
Hi Camm, Unless you're building something where the small difference in speed is absolutely critical, I would seek to answer a different question: Which structure will be easier to understand and maintain in the future when I (or others) come back to it? My 2 cents' worth - Phil Davis Mar

Re: Switch or If

2009-04-23 Thread Mark Smith
On 23 Apr 2009, at 11:02, wrote: All , Which is faster in a loop ? SWITCH or IF This is a little test I did. I get about 35ms for 'switch', about 20ms for 'if'. As Jim said though, I suspect it'll vary according to the kind and complexity of conditions you're testing. on mouseUp

RE: Switch or If

2009-04-23 Thread Jim Bufalini
Hi Camm, I tested this many years ago and while it depended slightly on how the if/then was written, I was surprised that the if/then was faster, but only by a small amount. I can't speak for today and recent versions of Rev. Aloha from Hawaii, Jim Bufalini > -Original Message- > From