Bill Roper (billroper) wrote,
Bill Roper
billroper

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
Subscribe

  • Sofa, So Good

    They were having one of their periodic sales at La-Z-Boy this weekend. Given the condition of the sleeper sofa in the living room and the couch in…

  • This and That

    Gretchen and I had fun doing our concert for Festival of the Living Rooms today. And it was nice to knock some of the rust off, because there's not…

  • Waking Up Is Way Too Easy To Do

    Woke up way too early this morning, which was apparently a harbinger of how things were going to go today, although the day turned out to be mixed.…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments