I have a few massive text files I have to sort through and move. I'm having a seperate
thread for each text file use a FileInputStream and several FileWriters to bring the data in, check where it belongs, and then put it there. Is this the best way to handle this? It seems like its rathers slow (old visual basic version of this did all files in 5 minutes- with
java single text files are taking 5+). I don't flush any of the writers until the thread is done, and I'm also only reading one line worth of bytes. A JFrame also runs that displays which file its writing to. Any suggestions to speed this up?