From 849bbc6566200fe7738570d9bf61613328f7e8a6 Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 21 Mar 2016 18:19:15 +0000 Subject: * time.c (divmodv): add the case both arguments are Fixnum. * time.c (wquo): use quo which has Fixnum optimization. * time.c (wdivmod0): added for WIDEVALUE_IS_WIDER. * time.c (wdivmod): use wdivmod0 and divmodv. divmodv has Fixnum optimization. * time.c (wdiv): use wdivmod0 and div to avoid the use of divmodv which calls id_quo whose return value is array. * time.c (wmod): use wdivmod0 and mod to avoid the use of divmodv which calls id_quo whose return value is array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 1c0ba584c0..1427c224cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +Tue Mar 22 03:10:09 2016 NARUSE, Yui + + * time.c (divmodv): add the case both arguments are Fixnum. + + * time.c (wquo): use quo which has Fixnum optimization. + + * time.c (wdivmod0): added for WIDEVALUE_IS_WIDER. + + * time.c (wdivmod): use wdivmod0 and divmodv. + divmodv has Fixnum optimization. + + * time.c (wdiv): use wdivmod0 and div to avoid the use of divmodv which + calls id_quo whose return value is array. + + * time.c (wmod): use wdivmod0 and mod to avoid the use of divmodv which + calls id_quo whose return value is array. + Mon Mar 21 22:32:50 2016 NARUSE, Yui * internal.h (rb_fix_divmod_fix): like r54213, use FIX2NUM only if -- cgit v1.2.3