[ruby-cvs:64462] nobu:r57296 (trunk): numeric.c: short circuit optimization

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Jan 10 21:18:21 JST 2017


nobu	2017-01-10 21:18:21 +0900 (Tue, 10 Jan 2017)

  New Revision: 57296

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57296

  Log:
    numeric.c: short circuit optimization
    
    * numeric.c (fix_mul): short circuit when multiplication of Bignum
      and 0 or 1 not to make a Bignum unnecessarily.

  Modified files:
    trunk/numeric.c


More information about the ruby-cvs mailing list