| Issue 9: | Cache "System.getProperty("line.separator")" result instead of reading it for every line | |
| 1 person starred this issue and may be notified of changes. | Back to list |
When we profiled our application we noticed that a lot of time was spend in the "System.getProperty("line.separator")" call of the CSVWriterImpl.write(E e) method.
I attached a patch which modifies CSVWriterImpl to store the "line.separator" property in a private field. It would be nice if this patch is merged into a future release of jcsv.
Thanks for providing this useful library. :=)
|