Improving performance of io in java
Posted on 2004-10-01
I am currently writing data to a file using BufferedWriter object, this is so to write data in large chunks eg.
bufferedWriter = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), "UTF-8"));
I am generating the data to write in a loop and at the end of each iteration I call
I wish to improve the performance, I think IO is the bottleneck.