From: caleb clausen Date: 2010-03-05T05:08:12+09:00 Subject: [ruby-core:28485] [Feature #905] Add String.new(fixnum) to preallocate large buffer Issue #905 has been updated by caleb clausen. If String#<< is really O(1), there would seem to be little reason to change anything. I still want to investigate this myself when I get a chance. I do like the tower of hanoi algorithm hugh pointed out. But it seems like a big change from where ruby's String class is now. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/905 ---------------------------------------- http://redmine.ruby-lang.org