From: Yusuke Endoh Date: 2010-03-04T01:26:38+09:00 Subject: [ruby-core:28448] [Feature #905](Feedback) Add String.new(fixnum) to preallocate large buffer Issue #905 has been updated by Yusuke Endoh. Status changed from Open to Feedback Hi, > This would allow heavy string-appending algorithms and libraries (like ERb) to avoid doing so many memory copies while they run. Is it really a bottleneck? Please make an experiment and show us the result. We can continue API discussion after we confirm the feature really makes sense. -- Yusuke Endoh ---------------------------------------- http://redmine.ruby-lang.org/issues/show/905 ---------------------------------------- http://redmine.ruby-lang.org