From: Robert Feldt Date: 2000-12-28T22:06:49+09:00 Subject: [ruby-talk:8172] Re: Speeding up string appends On Thu, 28 Dec 2000, Ben Tilly wrote: > >I need to convert large strings to valid C char arrays. A naive way goes > >through the string while appending "#{str[i]}," to an output string but > >this (of course) doesn't scale well. I tried: > > Of course? > Ok, gsub("of course", "which is to be expected given the current impl") then... ;-) /R