From: caleb clausen Date: 2010-03-04T15:11:02+09:00 Subject: [ruby-core:28461] [Feature #905] Add String.new(fixnum) to preallocate large buffer Issue #905 has been updated by caleb clausen. Do we really need a benchmark to confirm that copying large strings is expensive? Pre-sized buffers are a well-known performance win on other systems, so why not for ruby as well? I would like to try to create a benchmark to prove this would help, but it may be some time before I can get to it. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/905 ---------------------------------------- http://redmine.ruby-lang.org