[root]/PZFileReaderSamples/src/main/java/net/sf/pzfilereader/examples/csvperformancetest
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 6 (100.0%) | 33 (100.0%) | 5.5 |
Benoit Xhenseval | 3 (50.0%) | 23 (69.7%) | 7.6 |
Paul Zepernick | 3 (50.0%) | 10 (30.3%) | 3.3 |
renamed IDataSet to DataSet
2 lines of code changed in:
converted to factory classes
7 lines of code changed in:
removed freeMemmory call and updated constructor
1 lines of code changed in:
Some serious kicking...
1/ use a map for finding the column index; this makes the fetch of the first or last column consistent
2/ removed SOME of the substring which are causing dramatic performance degradation when once has a fair amount of columns.
3/ optimised some string manipulation code (getDelimiterOffset, lTrim, lTrimKeepTabs, removeChar
4/ I would suggest the creation of a suite of unit tests for all those methods.... Paul, do you want to take this on?
23 lines of code changed in:
Moved to net.sf.pzfilereader
0 lines of code changed in: