>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=20060727042244 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290472 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4