diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-21 20:08:03 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-21 20:08:03 +0000 |
commit | 3ee7fcc76364021b3bbc52fcc72845d81b14d375 (patch) | |
tree | 839de0ad5cc78f63ecb2586dfa3c80fe0793600e /ChangeLog | |
parent | 1b4d0c76de494b8bdbcf83db6f0d0950d4ccc64a (diff) | |
download | ruby-3ee7fcc76364021b3bbc52fcc72845d81b14d375.tar.gz |
* string.c (rb_str_count): optimized for 1byte string count by
avoiding tr_setup_table().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -53,6 +53,11 @@ Wed May 20 18:34:30 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * enumerator.c (inspect_enumerator): should use long. +Wed May 20 09:18:44 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * string.c (rb_str_count): optimized for 1byte string count by + avoiding tr_setup_table(). + Wed May 20 06:25:29 2009 Yukihiro Matsumoto <matz@ruby-lang.org> * encoding.c (rb_enc_fast_mbclen): faster mbclen for strings known |