>- see footer for list info -< Check that link I posted. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Cameron Sent: 08 August 2006 09:36 To: Allan Cliff; Coldfusion Development Subject: RE: [cfug-lists] RE: [CF-Dev] CFSwitch... Aren't all cases evaluated?
>- see footer for list info -< Hi. Before anyone gets too het up about <cfswitch> vs <cfif>/<cfelseif>... What sort of performance difference are we talking here? Has anyone got an actual metrics? I seems to me that both switches and conditional statements are very low-level operations, and any performance difference between the two would - intrinsically - be miniscule compared to [any other performance consideration one might have]. If that was the case (supposition on my part, sure), I'd put more weight on "clarity of intent" and I think a switch is more appropriate for "different possibilities for the same expression"; whereas if/elseif is only appropriate for "different possibilities for different expressions". -- Adam _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help >-< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
