[ruby-cvs:53574] nobu:r46428 (trunk): array.c: non-recursive rcombinate0

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Jun 14 10:55:25 JST 2014


nobu	2014-06-14 10:55:25 +0900 (Sat, 14 Jun 2014)

  New Revision: 46428

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

  Log:
    array.c: non-recursive rcombinate0
    
    * array.c (rcombinate0): remove recursion, by looping with indexes
      stored in `p`.

  Modified files:
    trunk/ChangeLog
    trunk/array.c
    trunk/test/ruby/test_array.rb


More information about the ruby-cvs mailing list