diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-05 17:29:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-05 17:29:40 +0000 |
commit | 9a4f2e44e4178bf23967ccdbedd02ae2ebfc4336 (patch) | |
tree | 1c342bfb34217369462b41a88f119b842a2f45f2 /vm_insnhelper.c | |
parent | 9a8254ccecf9d3886cdc728068d27401ba9846ee (diff) | |
download | ruby-9a4f2e44e4178bf23967ccdbedd02ae2ebfc4336.tar.gz |
string.c: optimize rb_str_resurrect
* string.c (rb_str_resurrect): optimize by short circuit to copy
hidden string without checking length, encoding and so on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
0 files changed, 0 insertions, 0 deletions