I didn't see that preso but have heard that also. If you have anything
more than 3 (I think, maybe just 2) Ifs then a case will process faster.

J.

John Wilker
Web Applications Consultant, Writer
Macromedia Certified ColdFusion Developer
Founder/President IE CFUG
www.red-omega.com
 
Whatever is wrong it is better than a poke in the eye with a sharp
stick. Unless of course you just got poked in the eye with a sharp
stick.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:Douglas.Knudsen@;alltel.com] 
Sent: Sunday, November 03, 2002 8:45 PM
To: CF-Talk
Subject: RE: Words


yes.  Someone at DevCon did a presentation on this stuff.  He showed
some pretty graphs that were convincing enough proof that cas statements
proceesed faster than a block of if statements. 

Doug

>-----Original Message-----
>From: Tony Weeg [mailto:tony@;navtrak.net]
>Sent: Sunday, November 03, 2002 11:25 PM
>To: CF-Talk
>Subject: RE: Words
>
>
>hello list
>
>can u tell me that programmatically, and processingly (new word!!) 
>cfcase/cfswitch sets of code are better/faster than series of 
>cfif's/cfelse's
>
>ive never messed with the cfcase/cfswitch family of flow control, cause

>way back when i first started, i learned the cfif way, and now, and 
>just trying to expand the old horizons...
>
>thanks
>tw
>
>
>-----Original Message-----
>From: S. Isaac Dealey [mailto:info@;turnkey.to]
>Sent: Sunday, November 03, 2002 11:23 PM
>To: CF-Talk
>Subject: RE: Words
>
>
>> refind(key, '/archivedocs/');
>>
>> The slashes prevent it from returning true if it finds 
>> 'archivedocsearch' and similar mismatches.
>>
>>   --Ben Doom
>>     Programmer & General Lackey
>>     Moonbow Software
>
>You and the regular expressions. ;P I think he's probably looking for 
>something like ListFindNoCase(path,"archivedocs","/") or for that 
>matter
>FindNoCase("/archivedocs/",path) ... although Matthew Walker beat me to

>the answer. :P
>
>Isaac
>Certified Advanced ColdFusion 5 Developer
>
>www.turnkey.to
>954-776-0046
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to