>- see footer for list info -< I'm reading this page: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17054
And have come across these two points: <blockquote> Nested if's (nice use of apostrophe's there, lad's [sic]) Limit your use of nested cfif else statements. Try substituting iif functions or non-nested cfif statements. </blockquote> This is interesting when one considers the old chestnut that does the rounds that iif() is "substantially" slower than <cfif>. Not that it is, but people have a habit of SAYING that it is. <blockquote> CFOUTPUT vs. CFLOOP Use a cfoutput query instead of cfloop query wherever possible. A loop over a query repeats for every record in the query result set. The cfloop results are just like a cfoutput. During each iteration of the loop the columns of the current row will be available for output. The advantage of using cfloop instead of a cfoutput is that you can use any CFML tag within a cfloop. cfoutput is restricted to a limited number of tags to increase its performance. </blockquote> "cfoutput is restricted to a limited number of tags to increase its performance". REALLY??? That's a new one on me. Personally I use <cfoutput> when I'm outputting stuff, and <cfloop> when I'm looping. Call me crazy. (yes, I know one needs to use <cfoutput> when using the grouping function). (I observe that this tech note was written in 2002, so perhaps is rather out of date?) -- 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 -<
