Well, since we're all conducting our own little tests, here's MY test code:

the cfset method took 64 seconds.  The cfsavecontent method only takes
203ms.

It has GOT to be using a stringbuffer then converting the result to a string
at the end.

<cfsetting enablecfoutputonly="yes">
<cfsetting requesttimeout="600">
<cfset reps = 100000>
<cfif 1>
 <cfset start = now().gettime()>
 <cfset result = "">
 <cfloop from="1" to="#reps#" step="1" index="i">
  <cfset result = result & i>
 </cfloop>
 <cfset end = now().gettime()>
 <cfoutput><p>#end-start#ms : #len(result)#</p></cfoutput>
<cfelse>
 <cfset start = now().gettime()>
 <cfsavecontent variable="result">
 <cfloop from="1" to="#reps#" step="1" index="i">
  <cfoutput>#i#</cfoutput>
 </cfloop>
 </cfsavecontent>
 <cfset end = now().gettime()>
 <cfoutput><p>#end-start#ms : #len(result)#</p></cfoutput>
</cfif>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306731
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to