Project

General

Profile

« Previous | Next » 

Revision 849bbc65

Added by naruse (Yui NARUSE) about 9 years ago

  • 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