diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-22 05:22:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-22 05:22:32 +0000 |
commit | 98b2401077925daee44f4b7311f114c01c5f25ea (patch) | |
tree | d78ddc9da6353ac36c3631807117f2711c6c32ea /dln.h | |
parent | d2d9257cd4b122fc5a7dca40594365d765e52011 (diff) | |
download | ruby-98b2401077925daee44f4b7311f114c01c5f25ea.tar.gz |
string.c: simplify
* string.c (rb_str_count): move code for the first argument
outside loop for the rest, as it is executed only once.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.h')
0 files changed, 0 insertions, 0 deletions