From: hsbt@... Date: 2017-05-10T11:38:24+00:00 Subject: [ruby-core:81091] [Ruby trunk Bug#11310][Assigned] CSV::Table#to_csv should use concat not + Issue #11310 has been updated by hsbt (Hiroshi SHIBATA). Status changed from Open to Assigned Assignee set to hsbt (Hiroshi SHIBATA) ---------------------------------------- Bug #11310: CSV::Table#to_csv should use concat not + https://bugs.ruby-lang.org/issues/11310#change-64740 * Author: zdennis (Zach Dennis) * Status: Assigned * Priority: Normal * Assignee: hsbt (Hiroshi SHIBATA) * Target version: * ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux-gnu] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- The current implementation of CSV::Table#to_a method uses Array#+ to which is really bad on performance. It seems like it should use Array#concat. Relevant Github PR: https://github.com/ruby/ruby/pull/946 -- https://bugs.ruby-lang.org/ Unsubscribe: