From: Charles Oliver Nutter Date: 2008-12-20T03:48:37+09:00 Subject: [ruby-core:20705] Re: [Feature #905] Add String.new(fixnum) to preallocate large buffer Dave Thomas wrote: > I think the reason I dislike this is that you're creating methods that > are polymorphic on the types of their arguments, and yet we generally > don't do that in Ruby-level code. So by creating these methods, you're > giving them a different flavor from methods that would be written in > straight Ruby. Neither of those methods are polymorphic on anything. They're both new methods that accept a Fixnum.