> What's the difference between Array.new(1e6+1) {|n| ""} and
> Array.new(1e6+1, "")?

Okay. Thanks all who explained this.
But, again, why is it better to use the former in this case?

-- 
Posted via http://www.ruby-forum.com/.