diff options
| author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-27 03:06:55 +0000 |
|---|---|---|
| committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-27 03:06:55 +0000 |
| commit | 2e75043a49d5277c04173ba2af233283ae26702d (patch) | |
| tree | 8c03fc1e630b484940c45e5b1e132a9bf9889086 /test/ruby/test_iterator.rb | |
| parent | 697c82b69167f021841d139b4321245f8842837a (diff) | |
erb.rb: Use str_uplus instead of rb_str_dup
to skip unnecessary string allocation on frozen_string_literal: false.
str_uplus can bypass calling rb_str_dup when OBJ_FROZEN is true.
* Before
erb_render 1.064
* Afete
erb_render 0.909
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_iterator.rb')
0 files changed, 0 insertions, 0 deletions
