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 | 04d026a7a7ce04b27730b92900d0660f91918bfc (patch) | |
| tree | 5d38c96159a20b86a8007af522a0a3e3df181109 /tool | |
| parent | 920625868b76233b553378a9942001034ef523e9 (diff) | |
| download | ruby-04d026a7a7ce04b27730b92900d0660f91918bfc.tar.gz ruby-04d026a7a7ce04b27730b92900d0660f91918bfc.tar.xz ruby-04d026a7a7ce04b27730b92900d0660f91918bfc.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@23565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
0 files changed, 0 insertions, 0 deletions
