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

Recent Posts from This Journal

  • Time for Rebuilding

    Well, there's nothing like research. Having determined that DDR5 is going to carry a substantial price premium over DDR4 memory for at least a year…

  • Driven Wild

    The studio computer continues to misbehave in various ways. When I fired up Cubase today, I got a lot of nasty, blocky video, despite having cleaned…

  • Some Old Doggerel

    I recall having mangled a CSN tune many years ago on the way to Contraption. Like that convention, the particular co-worker whose code I was digging…

  • 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