> > I can attest to that statement. We had a custom tag that
> > used those three functions HEAVILY - iif, de, and evaluate.
> > It was very very very very slow.
>
> Does anyone know if the speed of these functions will be
> improved in CF5, it having been said that CF5 runs faster on
> the same hardware than previous versions? And will their speed
> compared to CFIF CFELSE /CFIF be different?
>
> I kinda prefer using Iif to CFIF CFELSE /CFIF...
While they may or may not run faster in CF 5 than they do in previous
versions, they're always going to be slower than the use of a simple CFIF
tag. IIf and Evaluate both take strings and, well, evaluate them as if those
strings were code. This is generally a slow thing to do in most programming
languages. A simple CFIF just executes the code you give it.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists