diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-18 12:48:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-18 12:48:26 +0000 |
commit | 609a6ebac54746adc36422dce417cdb02d126886 (patch) | |
tree | ad9b669dc20d643ca35a18e76f9c4e96ec0f845f /time.c | |
parent | 95013cd5c0196f7a7fb0261594dcb74e3588af42 (diff) |
string.c: share middle of a string
* string.c (rb_str_new_frozen): consider the shared string at
middle.
* string.c (rb_str_subseq, rb_str_substr, str_byte_substr): share
middle of a string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
0 files changed, 0 insertions, 0 deletions