2016-09-14
The performance enhancements that were announced are now in the master branch. Better unit tests have been provided and I added the possibility to customize the way the text-qualification mode "AsNeeded" works. Also, from now on, the proper way to obtain the code is to use the Clone or Download option from the "Source Code" tab. I will now longer be creating releases.

Please note that the use of the "AsNeeded" mode significantly slows the writing of CSV files.

Some documentation should follow in the coming weeks.

2016-08-13

New development branch. I completely recreated, from scratch, the reader methods and came up with a solution that boosts performance by around 550% - according to my tests, using a 8M+ rows, 17 columns csv file - and I will be preparing better unit tests in order to release it as soon as possible. I made available, in the CsvReaderSettings class, properties to fine-tune the internal buffers sizes. Two buffers come into play: the internal byte buffer for the StreamReader and the internal character buffer for the CsvReader. My tests suggest that a ratio of 16k/4k offers the best performances but anyone will be able to fine-tune freely.

Writing speed has also been dramatically increased.

The main reader method contains helpful comments for anyone interested in learning how I did it.

Enjoy!