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 | ce040897ac025a367c4d28ff1492f93a1684ad67 (patch) | |
tree | 7c8f145c9850a5b62239f32bf07ca92a01de303d /ext/win32ole | |
parent | 854020c3e0678b9d531d27ea46472956684d4ffe (diff) | |
download | ruby-ce040897ac025a367c4d28ff1492f93a1684ad67.tar.gz ruby-ce040897ac025a367c4d28ff1492f93a1684ad67.tar.xz ruby-ce040897ac025a367c4d28ff1492f93a1684ad67.zip |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@19364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole')
0 files changed, 0 insertions, 0 deletions