Open vkhodygo opened 2 years ago
Current version works as expected, however, it might benefit from the following improvements:
[ ] replace conventional Java BufferedWriter with FastCSV to improve the overall performance,
BufferedWriter
FastCSV
[ ] split the code even further so that there is a dedicated function for object parsing etc.
code at lines ~100 - 130 is repetitive/contains breaks
[ ] cover the rest of branches that are responsible for logging (try https://github.com/rohanpadhye/jqf ?)
add buffer flush to exit points to save some memory
The latter is likely to be a bit slower due to redundant checks, but it is easier to debug, test and maintain it.
Current version works as expected, however, it might benefit from the following improvements:
[ ] replace conventional Java
BufferedWriter
withFastCSV
to improve the overall performance,[ ] split the code even further so that there is a dedicated function for object parsing etc.
code at lines ~100 - 130 is repetitive/contains breaks
[ ] cover the rest of branches that are responsible for logging (try https://github.com/rohanpadhye/jqf ?)
add buffer flush to exit points to save some memory
The latter is likely to be a bit slower due to redundant checks, but it is easier to debug, test and maintain it.