From: Kornelius Kalnbach Date: 2010-03-06T07:43:07+09:00 Subject: [ruby-core:28519] Re: [Feature #905] Add String.new(fixnum) to preallocate large buffer On 05.03.10 18:25, Nikolai Weibull wrote: > I���m getting the feeling thath the only real use case that we���ve got > for this so far is ERb. Wouldn���t it make more sense to change the way > ERb (and similar ���string concatenators���) creates its result? How about an optimized StringBuffer class in stdlib that's optimized for this kind of stuff? But only if we really find a way to speed it up. [murphy]