[ruby-cvs:53573] nobu:r46427 (trunk): array.c: non-recursive rpermute0

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


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

  New Revision: 46427

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

  Log:
    array.c: non-recursive rpermute0
    
    * array.c (rpermute0): 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