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 | d2afc39ab4d4556e971d5cab8e84d1c1dc95e6bd (patch) | |
tree | 8c03fc1e630b484940c45e5b1e132a9bf9889086 /.travis.yml | |
parent | 4f9c425fe6b893ad46a3c0bcd22e5115f5405a88 (diff) | |
download | ruby-d2afc39ab4d4556e971d5cab8e84d1c1dc95e6bd.tar.gz |
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 '.travis.yml')
0 files changed, 0 insertions, 0 deletions