diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-05 08:25:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-05 08:25:56 +0000 |
commit | dffae9a1f978d5ee5130475f4ea725865ead1730 (patch) | |
tree | 748e3695c8326693032cfe4051db154517a86b8d /test/ruby/test_string.rb | |
parent | f0bc5b1c9f9dff22315e70294c663279fbc61daa (diff) | |
download | ruby-dffae9a1f978d5ee5130475f4ea725865ead1730.tar.gz |
string.c: reduce objects in rb_fstring
* string.c (rb_fstring, rb_str_free): use st_data_t instead of VALUE.
* string.c (rb_fstring): get rid of duplicating already frozen object.
* parse.y (str_suffix_gen): freeze in advance to reduce objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_string.rb')
0 files changed, 0 insertions, 0 deletions