:)

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


Reply via email to