Zip, Zam, Zowie, and Swoosh!
Nov. 14th, 2013 11:04 pmWith a few adjustments to get everything into alignment, my Java-based reader/writer for our old file format is working nicely. I managed to read a 90 MB file and write it back out so that the old application could successfully read it, so I'm going to count that as a success.
It is amazing how much faster the file writing got when I wrappered the FileOutputStream with a BufferedOutputStream. :)
I also managed to save about 7% (which was much less impressive, but nice to have) by fetching and storing the default constructor for the class and calling Constructor.newInstance instead of Class.newInstance.
Since I promised this bit of coding would be done this week, I'm feeling pretty good about it...
It is amazing how much faster the file writing got when I wrappered the FileOutputStream with a BufferedOutputStream. :)
I also managed to save about 7% (which was much less impressive, but nice to have) by fetching and storing the default constructor for the class and calling Constructor.newInstance instead of Class.newInstance.
Since I promised this bit of coding would be done this week, I'm feeling pretty good about it...