NeoCSVReader is described as efficient.�� What is that
in comparison to?�� What benchmark data are used?
Here are benchmark results measured today.
(5,000 data line file, 9,145,009 characters).
��method �� �� �� �� �� �� �� ��time(ms)
��Just read characters �� 410
��CSVDecoder>>next �� �� ��3415 �� astc's CSV reader (defaults). 1.26 x CSVParser
��NeoCSVReader>>next �� ��4798 �� NeoCSVReader (default state). 1.78 x CSVParser
��CSVParser>>next �� �� �� 2701 �� pared-to-the-bone CSV reader. 1.00 reference.
(10,000 data line file, 1,544,836 characters).
��method �� �� �� �� �� �� �� ��time(ms)
��Just read characters �� ��93
��CSVDecoder>>next �� �� �� 530 �� astc's CSV reader (defaults). 1.26 x CSVParser
��NeoCSVReader>>next �� �� 737 �� NeoCSVReader (default state). 1.75 x CSVParser
��CSVParser>>next �� �� �� ��421 �� pared-to-the-bone CSV reader. 1.00 reference.
CSVParser is just 78 lines and is not customisable.�� It really is
stripped to pretty much an absolute minimum.�� All of the parsers
were configured (if that made sense) to return an Array of Strings.
Many of the CSV files I've worked with use short records instead
of ending a line with a lot of commas.�� Some of them also have the occasional stray comment off to the right, not mentioned in the header.
I've also found it necessary to skip multiple lines at the beginning
and/or end.�� (Really, some government agencies seem to have NO idea
that anyone might want to do more with a CSV file than eyeball it in
Excel.)
If there is a benchmark suite I can use to improve CSVDecoder,
I would like to try it out.