cfswitch is much faster ... but both are usable in different situations ...
look through the archives, others have done tests and outputed their
variances....

I am assuming it is faster because it doesn't have to evaluate an expression
and just has to evaluate a value.

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
SiteDirector v2.0 - Commerce Builder



> Hey All,
>
> Any difference in performance between using a
>
> <cfswitch>
>    <cfcase>
>    </cfcase>
> </cfswitch> statement
>
> and using
>
> <cfif>
> <cfelseif>
> </cfif> statement?
>
> Does anyone know which is faster and why?
>
> Thanks
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Games - play chess, backgammon, pool and more
> http://games.yahoo.com/
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to