diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-25 08:13:32 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-25 08:13:32 +0000 |
commit | 20c5f60775b8691c3f41830da1534f7ec92edf40 (patch) | |
tree | 4e5458e529b35176d5b4459823a31b05cab71077 /lib/English.rb | |
parent | c0baa381b5293abfe2c06a5ecdf10551c05c92f9 (diff) |
csv.rb: optimize CSV::Table#to_a and #to_csv
* lib/csv.rb (CSV::Table#to_a, #to_csv): use Array#push instead of
Array#concat for performance improvement. This performance improvement is
proposed by zdennis <[email protected]>. The patch is from
Mau Magnaguagno <[email protected]>.
close #946
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/English.rb')
0 files changed, 0 insertions, 0 deletions