diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-25 00:43:23 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-25 00:43:23 +0000 |
commit | 970cfee510c3d536ae5348ecbb4d3d8232d72c20 (patch) | |
tree | 5d38c96159a20b86a8007af522a0a3e3df181109 /tool/rmdirs | |
parent | d629684bb91e7ea64508cd24629a44d41ff328dd (diff) | |
download | ruby-970cfee510c3d536ae5348ecbb4d3d8232d72c20.tar.gz |
* string.c (rb_str_hash): avoid calling rb_enc_str_asciionly_p().
* string.c (rb_str_replace): avoid redundant calling rb_str_new4().
* string.c (str_replace): factor out replacement from
rb_str_replace() without type check nor discarding the
destination contents.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/rmdirs')
0 files changed, 0 insertions, 0 deletions