From: Dave Thomas Date: 2003-06-13T23:24:29+09:00 Subject: Re: Hispeed String concat Dominik Werder wrote: > What is the fastest way to add many small Strings to a big buffer? I don't believe there's a single fastest way. Often '<<' is fast, but not always. In one application, where I was generating a CVS file from a largish SQL result set, I made the program over 100 times faster by changing result = "" for r in results csv_string = to_csv(r) result << csv_string end to result = [] for r in results csv_string = to_csv(r) result << csv_string end result = result.join Cheers Dave