Here are the results of your code with java.lang.runtime. Forgot to mention 
that the JVM is 1.5.0_15-b04. 

Memory Before: 28 Megs
string & string: 99642ms
String Length: 650000
Memory After: 91 Megs -- Increase of 63 Megs

Memory Before: 29 Megs
cfsavecontent: 63ms
String Length: 850003
Memory After: 37 Megs -- Increase of 8 Megs

Basically what this tells me is that you should use cfsavecontent rather than 
concatenating strings. But I was not expecting such a difference.

larry

> Here are the results of your code (again BD for J2EE running on JBoss 
> AS 4.22):
> 
> string & string&: 33251ms
> String Length: 390000
> cfsavecontent: 62ms
> String Length: 570006
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:306832
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