commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell" <>
Subject [csv] CSVStrategy and performance of CSVPrinter
Date Fri, 05 May 2006 06:49:08 GMT
I extracted the strategy code from the CSVParser. Still need to roll
it into use in CSVPrinter.

Speaking of which, CSVPrinter's speed problems are partly due to
calling PrintWriter.flush() a huge number of times to the point where
half of the cpu time is spent in that method.

Solution-wise, the flush() in the print(String) method needs to go at
the very least. One way to make that more palatable would be to pull
the flush up into the CSVPrinter API, put the user in charge.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message