[ruby-cvs:56550] nobu:r49400 (trunk): array.c: reduce to_ary call

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Jan 25 12:04:10 JST 2015


nobu	2015-01-25 12:04:10 +0900 (Sun, 25 Jan 2015)

  New Revision: 49400

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

  Log:
    array.c: reduce to_ary call
    
    * array.c (flatten): no need to call to_ary method on elements
      beyond the given level.  [ruby-core:67637] [Bug #10748]

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


More information about the ruby-cvs mailing list