> is this still so under
cfmx? the faster part that is.
Nope,
not since CF5. My testing suggests iif() is faster than
<cfif><cfelse></cfif>, in equivalant tests. A Simple
<cfif></cfif> was faster than iif(), though.
That's
not the only conisderation, though, obviously. And, indeed, the
differences were marginal (although clearly always favoured
iif()).
I
don't *stop* myself from using iif() when needs must, but I'm more inclined to
stick to a plain old if() most of the time. Or <cfif> if I really
have to ;-)
--
Adam
This email contains confidential information. If you are not the intended recipient of this email, please notify Straker Interactive and delete the email. You are not entitled to use it in any way.
----------------------------------------------------------You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
