Feature #1981: [PATCH] CSV Parsing Speedup
http://redmine.ruby-lang.org/issues/show/1981

Author: Timothy Elliott
Status: Open, Priority: Low
Assigned to: James Gray, Category: lib

This patch replaces the regex used in the Ruby 1.9 CSV parser with ruby code.

Running all CSV tests (ts_all.rb) is much faster (36% on my machine). Probably because they don't have to rebuild the regex over and over again. I tested on large CSV files and got an average speedup of 23% on my machine.

(James, this patch is improved & faster from the one I emailed to you on 8/21. Putting into this ticket to make it easier to track any changes.)


----------------------------------------
http://redmine.ruby-lang.org