diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-20 04:44:36 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-20 04:44:36 +0000 |
| commit | 0980fe7903b253e8a67a45eea6bd9856d0d85cf0 (patch) | |
| tree | f2a23f73e26d084a976786561c2b3cdcdce59ec7 /ChangeLog | |
| parent | c81863c321798391409f8beb2c1660309964efda (diff) | |
* encoding.c (rb_enc_fast_mbclen): faster mbclen for strings known
to be valid.
* string.c (enc_strlen): coderange specified version of
rb_enc_strlen(). use rb_enc_fast_mbclen() if coderange is 7bit
or valid.
* string.c (str_gsub): use rb_enc_fast_mbclen().
* string.c (rb_str_reverse, rb_str_split_m, rb_str_each_char,
scan_once): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +Wed May 20 06:25:29 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * encoding.c (rb_enc_fast_mbclen): faster mbclen for strings known + to be valid. + + * string.c (enc_strlen): coderange specified version of + rb_enc_strlen(). use rb_enc_fast_mbclen() if coderange is 7bit + or valid. + + * string.c (str_gsub): use rb_enc_fast_mbclen(). + + * string.c (rb_str_reverse, rb_str_split_m, rb_str_each_char, + scan_once): ditto. + Wed May 20 06:20:05 2009 Yukihiro Matsumoto <matz@ruby-lang.org> * lib/tempfile.rb (Tempfile#unlink): close first for Windows. a |
