Thanks, I will make note of that. 

-----Original Message-----
From: Adrian Moreno [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 07, 2007 2:28 AM
To: CF-Talk
Subject: Re: CF Coding Standards

>I recall a benchmark results from along time ago indicating that if 
>your doing more than 3 CFIF/CFELSEIF statements it was better for 
>performance to use CFSWITCH. That was discussed here on the mailing list of
HoF.

http://webapper.net/index.cfm?fuseaction=Fuseblog.ShowComments&ArticleID=200
60727042244

Comparing cfswitch/cfcase vs. cfif/cfelse: They found that when comparing
string values, if/else is much faster then switch/case under load. When
comparing numeric values, switch/case is faster.

-- Adrian 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290474
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to