diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-15 14:40:00 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-15 14:40:00 +0000 |
commit | b121e47b4478ea410274e2611472f7c594016508 (patch) | |
tree | 7c8f145c9850a5b62239f32bf07ca92a01de303d /ChangeLog | |
parent | e0f064cf3c4f5b59d438e96b5fb002a984b78329 (diff) |
* string.c (rb_str_squeeze_bang): specialized for 7bit characters in
ASCII compatible strings.
* string.c (rb_str_count): ditto.
* string.c (tr_trans): preserve 7bit/valid coderange flag.
* string.c (rb_str_squeeze_bang): preserve previous coderange value.
* string.c (rb_str_lstrip_bang): ditto.
* string.c (rb_str_rstrip_bang): ditto.
* encoding.c (rb_default_external_encoding): preserve
default_external_encoding in a static variable.
* string.c (single_byte_optimizable): check coderange first, to
reduce number of calling rb_enc_from_index().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -9,6 +9,27 @@ Mon Sep 15 23:28:28 2008 Tanaka Akira <akr@fsij.org> * io.c (rb_scan_open_args): call FilePathValue before encoding conversion. +Mon Sep 15 22:11:07 2008 Yukihiro Matsumoto <matz@ruby-lang.org> + + * string.c (rb_str_squeeze_bang): specialized for 7bit characters in + ASCII compatible strings. + + * string.c (rb_str_count): ditto. + + * string.c (tr_trans): preserve 7bit/valid coderange flag. + + * string.c (rb_str_squeeze_bang): preserve previous coderange value. + + * string.c (rb_str_lstrip_bang): ditto. + + * string.c (rb_str_rstrip_bang): ditto. + + * encoding.c (rb_default_external_encoding): preserve + default_external_encoding in a static variable. + + * string.c (single_byte_optimizable): check coderange first, to + reduce number of calling rb_enc_from_index(). + Mon Sep 15 20:57:00 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp> * lib/matrix.rb (Matrix#eql?): fixed [ruby-dev:36298]. |