[ruby-cvs:64465] nobu:r57299 (trunk): rational.c: short circuit optimization

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


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

  New Revision: 57299

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

  Log:
    rational.c: short circuit optimization
    
    * rational.c (nurat_reduce): short circuit when arguments are ONE,
      nothing is needed.

  Modified files:
    trunk/rational.c


More information about the ruby-cvs mailing list