diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-05 03:13:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-05 03:13:55 +0000 |
commit | 62ede28373fe20cb72963e71b8589ffac016224a (patch) | |
tree | 18d30190e116d0604bc9d1b60a707425f5926ec0 /win32 | |
parent | 8615857bb079fd2db6033556c89e7190d5b648e4 (diff) | |
download | ruby-62ede28373fe20cb72963e71b8589ffac016224a.tar.gz |
string.c: reduce memory copy
* string.c (rb_str_lstrip, rb_str_strip): reduce memory copy by
copying necessary part only.
* string.c (rb_str_strip_bang, rb_str_strip): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
0 files changed, 0 insertions, 0 deletions