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 | 237332fceaf3e9f57d0be8295942d3347209ec75 (patch) | |
| tree | 1c342bfb34217369462b41a88f119b842a2f45f2 /include/ruby/ruby.h | |
| parent | 355a0d8af1170db6249cd1269257cfcf2fd36050 (diff) | |
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 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions
