ruby-changes:27548
From: nobu <ko1@a...>
Date: Tue, 5 Mar 2013 21:30:36 +0900 (JST)
Subject: [ruby-changes:27548] nobu:r39600 (trunk): test_method.rb: reduce iteration
nobu 2013-03-05 21:30:27 +0900 (Tue, 05 Mar 2013) New Revision: 39600 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39600 Log: test_method.rb: reduce iteration * test/ruby/test_method.rb (TestMethod#test_bound_method_entry): reduce iteration. Modified files: trunk/test/ruby/test_method.rb Index: test/ruby/test_method.rb =================================================================== --- test/ruby/test_method.rb (revision 39599) +++ test/ruby/test_method.rb (revision 39600) @@ -511,7 +511,7 @@ class TestMethod < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_method.rb#L511 define_singleton_method(:reverse, target.method(:reverse).to_proc) end end - 1000.times {p = Bug6171.new('test'); 10000.times {p.reverse}} + 100.times {p = Bug6171.new('test'); 1000.times {p.reverse}} EOC end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/