I will say that there is an advantage in Method 2.  By only wrapping the #variable# in CFOUTPUTs, you do not need to worry about what you put before it or after it.  I.e.  # of Rooms: #variable#.  Instead of remembering to escape out the first # with ##, you can just write like you want it, and then wrap the #variable# only.
 
Vance
 
----- Original Message -----
To: CFLIST
Sent: Friday, July 15, 2005 12:19 PM
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
 

Reply via email to