From 88a9f59590143ae0adc63ddc2e0aa6831871cb70 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 10 Oct 2015 21:22:54 +0000 Subject: * vm_eval.c, internal.h (rb_yield_1): added for performance which doesn't check Qundef. * numeric.c (int_dotimes): use rb_yield_1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- numeric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numeric.c') diff --git a/numeric.c b/numeric.c index ec12b3ac76..ad3b45c804 100644 --- a/numeric.c +++ b/numeric.c @@ -3949,7 +3949,7 @@ int_dotimes(VALUE num) end = FIX2LONG(num); for (i=0; i