diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-17 15:08:33 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-17 15:08:33 +0000 |
commit | d5595a96272419a495e3766dc9c96b5884c00efd (patch) | |
tree | 4d6b6911dd87338b8ec012e07ef56853fc9cf30c /test/zlib | |
parent | 41d002bbad90e2c290d3854a9543c907e86ce210 (diff) |
Optimize enum_sum for a range from int to int
* enum.c (enum_sum): Optimize for a range from int to int.
* test/ruby/test_enum.rb (test_range_sum): Move from test_range.rb,
and add assertions for some conditions.
* test/ruby/test_enum.rb (test_hash_sum): Move from test_hash.rb.
* test/ruby/test_hash.rb, test/ruby/test_range.rb: Remove test_sum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/zlib')
0 files changed, 0 insertions, 0 deletions