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