diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-05 14:35:39 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-05 14:35:39 +0000 |
commit | 40229f892c6877ecd0d45f24b662b05c74c7774a (patch) | |
tree | 7251368c8467ececd67672d08a4815aea187f30d /ext/tk | |
parent | c984f7712230ffbbcb702923e421c306ca98f40b (diff) | |
download | ruby-40229f892c6877ecd0d45f24b662b05c74c7774a.tar.gz |
* array.c (rb_ary_{times, shuffle_bang, sample}): reducing macro
calls inside of the loop by keeping pointers in local
variables. a patch from Masahiro Kanai (CanI) in [ruby-dev:39406].
It was found and fixed at Security and Programming camp 2009.
* string.c (rb_str_{times, split_m}): ditto.
* struct.c (rb_struct_{getmember, set, aref_id, aset_id}, {make,
inspect}_struct, recursive_{equal, hash, eql}): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
0 files changed, 0 insertions, 0 deletions