[ruby-cvs:53954] nagachika:r46808 (ruby_2_1): merge revision(s) r46417, r46418: [Backport #9939]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sun Jul 13 23:16:38 JST 2014


nagachika	2014-07-13 23:16:37 +0900 (Sun, 13 Jul 2014)

  New Revision: 46808

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

  Log:
    merge revision(s) r46417,r46418: [Backport #9939]
    
    * array.c (yield_indexed_values): extract from permute0(),
      rpermute0(), and rcombinate0().
    
    * 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 directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/array.c
    branches/ruby_2_1/test/ruby/test_array.rb
    branches/ruby_2_1/version.h


More information about the ruby-cvs mailing list