From: Yusuke Endoh Date: 2010-03-27T20:20:09+09:00 Subject: [ruby-core:29067] [Feature #889](Rejected) erb.rb should use Array and << for eoutvar and not String and concat Issue #889 has been updated by Yusuke Endoh. Status changed from Feedback to Rejected Hi, 2010/3/27 Kurt Stephens : > This is not a good idea, because the expression value Strings accumulated in the Array must be protected from mutation. > ERB expressions can have side-effects. That's a good point. I never thought of that. Thank you! This proposal not only brings little performance gain, but also leads to incompatibility. I reject the ticket. If you come up with another idea that solves the two problems, please register a new ticket with benchmark. Thanks, -- Yusuke ENDOH ---------------------------------------- http://redmine.ruby-lang.org/issues/show/889 ---------------------------------------- http://redmine.ruby-lang.org