From: Matt Armstrong Date: 2002-04-24T00:41:35+09:00 Subject: Re: Is there a better way to convert between arrays and strings? Bob Hutchison writes: > Hi, > > This code will convert an array of characters to a string: > > a = [?a, ?b, ?c] > s = '' > for c in a > s << c > end > > While it works, it isn't fast, in fact, it is *slow*. I bet it is much faster in ruby 1.7 than 1.6, since String#<< is much faster in 1.7. -- matt