This really isn't in issue when doing a single pass over a cfswitch 
structure.  The real issue comes in is when you loop over a cfswitch 
structure many many times during the script.  That may cause a slow down.

-- 
Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well. 



Michael David wrote:
> WOW - I hav enever heard of this.  I use CFSWITCH to test strings all the 
> time.  Should I back through all my sites and and convert those to a bunch of 
> CFIFs?  Messy...
>
> CWB
>
>   
>> For those who hadn't ever heard-- cfswitch attempted to parse all values
>> as an integer.  If that failed, it threw an internal error which was
>> caught and then it proceeded to processes the values as a string.  Turns
>> ou, all that internal throwing and catching was very pricy under extreme
>> load making cfswitch only useful for integers.  
>>     
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

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

Reply via email to