Skip to content

CSV Parser 2.0.0

Compare
Choose a tag to compare
@vincentlaucsb vincentlaucsb released this 27 Sep 12:53
· 40 commits to master since this release
  • Parser now uses memory-mapped IO for reading from disk thanks to mio
    • CSV files are read in smaller chunks to reduce memory footprint (but parsing is significantly faster)
  • CSVReader::read_row() (and CSVReader::iterator) no longer blocks CSVReader::read_csv(), i.e. we can now simultaneously work on CSV data while reading more rows
  • Parser internals completely rewritten to use more efficient and easier to maintain/debug data structures
  • Fixed bug where single column files could not be parsed
  • Fixed errors with parsing empty files
  • CSVWriter::write_row() now works with std::array