>If you're appending text line by line to a memory variable, you're
>probably having issues relating to java strings being immutable. If
>you're appending to a file each time, that's probably slowing you
>down.
>>>  I was doing the latter e.g. appending to a file for each line. <<<
>
>Try the loop without writing any strings out and see what the
>difference is. If that's fast, try a Java class that buffers string or
>file output depending on how you want it to work.

>>> That made a dramatic difference to the execution time.
This gives me a lead as to what might be done to fix the problem.

What can I say but thanks a bunch; and cheers
Bryn




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338273
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to