>- see footer for list info -<
IIF is different - it performs an evaluate()
If you dont pass it strings, then it evaluates both your parameters before
doing its true/false.
Seeing either one contains an additional process and also I dislike
evaluate, im going to say yes IIF is less efficient.

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funct117.htm#wp110581
5


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of RichL
Sent: 20 October 2005 13:53
To: cfdev
Subject: [CF-Dev] Quickie.... IIF or <CFIF><CFELSE>


>- see footer for list info -<
Which is accepted to be more efficient for simple choice tests and variable
setting depending on result?
 My feeling is CFIF?

--
Rich
_______________________________________________

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 -<

Reply via email to