I would argue that you would not notice a difference between tags and script for the simple reason that the compiler probably interprets them as almost the same, and if any different, probably only on certain functions. The only other arguments you could have which is still questionable is which one parses faster, but again, probably not noticeable and only occurs when the code is compiled.
A good thing to remember is that CF can essentially be related to an incredibly powerful Java tag library, so many of the functions we use (no matter how we write them) simple have the same exact java output with two ways of calling it. I doubt Macromedia sees much interest in keeping two seperate systems of java output to satisfy having cfscript and the tags, so I suspect they are almost exactly the same if not the same. Take Care, Mike Kelp On Friday 15 July 2005 02:04 pm, Joe Kelly wrote: > The conclusion of this article also answers the question of which is > faster - CFML vs <cfscript>, which has been batted about in previous > CFUG meetings. Though he doesn't offer any proof he says there is no > difference! > Thanks, > Joe Kelly > > On 7/15/05, Daniel Elmore <[EMAIL PROTECTED]> wrote: > > :) > > > > http://coldfusion.sys-con.com/read/41568_p.htm > > > > CFLOOP, but you'll probably never use it to a magnitude in which you can > > tell the difference. > > > > -Daniel > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Behalf Of Ryan Everhart > > Sent: Friday, July 15, 2005 1:21 PM > > To: [email protected] > > Subject: Re: performance question > > > > > > What about doing a <cfoutput> vs a <cfloop> when outputting a data > > set. Is one better than the other? > > > > Ryan > > > > On 7/15/05, Kevin Fricke <[EMAIL PROTECTED]> wrote: > > > thanks! > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Behalf > > > > Of > > > > > Daniel Elmore > > > Sent: Friday, July 15, 2005 12:41 PM > > > To: [email protected] > > > Subject: RE: performance question > > > > > > You won't see a difference unless you get into thousands of outputs, > > > even then I believe the parsing time will only vary when the page is > > > first processed. Once CF is compiled into bytecode I'd bet an optimizer > > > makes Method 1 code and Method 2 code look almost identical. > > > > > > Go with what's more readable. > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Behalf > > > > Of > > > > > Kevin Fricke > > > Sent: Friday, July 15, 2005 12:19 PM > > > To: CFLIST > > > Subject: performance question > > > > > > I was wondering if there was much of a performance difference in CF > > > with > > > > the > > > > > following two output methods, any ideas? > > > > > > Method 1: > > > > > > <cfoutput> > > > Variable: #variable# > > > Variable: #variable# > > > Variable: #variable# > > > Variable: #variable# > > > Variable: #variable# > > > Variable: #variable# > > > Variable: #variable# > > > </cfoutput> > > > > > > > > > OR > > > > > > Method 2: > > > > > > Variable: <cfoutput>#variable#</cfoutput> > > > Variable: <cfoutput>#variable#</cfoutput> > > > Variable: <cfoutput>#variable#</cfoutput> > > > Variable: <cfoutput>#variable#</cfoutput> > > > Variable: <cfoutput>#variable#</cfoutput> > > > Variable: <cfoutput>#variable#</cfoutput> > > > Variable: <cfoutput>#variable#</cfoutput> > > > > > > > > > > > > > > > > > > thanks! > > > > > > Kevin Fricke > > > > -- > > Ryan Everhart > > [EMAIL PROTECTED] > > ---------------------------------------------------------- > > To post, send email to [email protected] > > To unsubscribe: > > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > > To subscribe: > > http://www.dfwcfug.org/form_MemberRegistration.cfm > > > > > > > > > > > > ---------------------------------------------------------- > > To post, send email to [email protected] > > To unsubscribe: > > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > > To subscribe: > > http://www.dfwcfug.org/form_MemberRegistration.cfm ---------------------------------------------------------- To post, send email to [email protected] To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm
