[ruby-cvs:53564] nobu:r46418 (trunk): array.c: combination on a shared copy

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Jun 13 17:34:18 JST 2014


nobu	2014-06-13 17:34:17 +0900 (Fri, 13 Jun 2014)

  New Revision: 46418

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

  Log:
    array.c: combination on a shared copy
    
    * array.c (rb_ary_combination): iterate on a shared copy, and use
      array of indexes instead of array of chosen objects.
      [ruby-core:63149] [Bug #9939]

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


More information about the ruby-cvs mailing list