[ruby-cvs:53572] nobu:r46426 (trunk): array.c: non-recursive permute0

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Jun 14 10:54:46 JST 2014


nobu	2014-06-14 10:54:45 +0900 (Sat, 14 Jun 2014)

  New Revision: 46426

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

  Log:
    array.c: non-recursive permute0
    
    * array.c (permute0): remove recursion, by looping with indexes
      stored in `p`.  [ruby-core:63103] [Bug #9932]

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


More information about the ruby-cvs mailing list