Data-Liberation-Front / csvlint.rb

The gem behind http://csvlint.io
MIT License
287 stars 88 forks source link

Optimization: Stream CSV #122

Closed jpmckinney closed 9 years ago

jpmckinney commented 9 years ago

Running CSVLint on large remote CSVs is slow, because it needs to download the file, then validate. It would be possible in Ruby to stream the response body, in which case it can be validated as it downloads, saving time and memory. Also, if :limit_lines is set, CSVLint can stop the download once those lines have been read.

pezholio commented 9 years ago

Fixed by #146 :smile: