Bill Roper (billroper) wrote,
Bill Roper

Zip, Zam, Zowie, and Swoosh!

With 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...
Tags: computers, java, musings, work

  • The Colder Side of Spring

    It was supposed to be getting warmer for Spring, but the weather appears to have other ideas this week. There's a freeze warning tonight, so I went…

  • Out to Lunch

    Gretchen and I were casting about for something different to have for lunch today. I have been craving a good smoked brisket sandwich and my Internet…

  • Bits and Pieces

    Got up early today for softball practice. The second half was a scrimmage with one of the other local teams, which was a good learning experience for…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded