Yes I agree, I increased the loop count to 5000 and noticed that the "StringBuffer" method ran 1/3 to 1/2 quicker than <cfset a = a & "a bit more text, ">.
However when I tried again with a loop count of 500 "StringBuffer" method was slower. my code: <cfset jsbOutput = CreateObject( "java", "java.lang.StringBuffer" ).Init() /> <cfloop index="i" from="1" to="5000"> <cfset jsbOutput.Append( "a bit more text, " ) /> </cfloop> <cfoutput> <li>#jsbOutput.ToString()# </cfoutput> <cfset a = ""> <cfloop index="i" from="1" to="5000"> <cfset a = a & "a bit more text, "> </cfloop> <cfoutput> <li>#a# </cfoutput> Andrew ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250376 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4