CSV - a fast cvs parser for large files written in Swift
CSV - a fast cvs parser for large files written in Swift
Yet another CSV parser. This one is written in Swift and is meant for processing very large input files. I was able to read and parse a 10 million line file in around 52 to 58 seconds. Includes a few basic cvs files for unit testing. Thoroughly tested and has no memory leaks.
The algorithm employed in the CSV parser was gleaned from libcsv by Robert Gamble.
Modifications were made to be lenient with quote characters appearing inside of non-quoted fields.
Updated on August 9, 2016
TODO:
Enjoy!
-Allan