Newsflash

New GoCurious Sites!

We've been busy here at GoCurious.com, in fact we've decided that our recipe and travel sites were going to need their own space, so we've created some new sites.

Best Recipes

Carnival Cruise Reviews

But, that's not all...oh no, why stop there.  We've created an awesome Christmas site.

Christmas Wonderland

Still not enough, feel like you need to read a little?  How about Classic Books Online.

Free Classic Books

How about a spot to find all of your UFC results?  In fact this site has all the mixed martial arts information you need.  Fighter profiles and articles, UFC predictions and results.  Everything for the MMA fan.

UFC 74 Results

 That's it for now...actually there are a couple of others, but they're still top secret Cool   enjoy the ones listed here for now and for heaven's sake, go easy on us...we've come a long way in a very short period of time!

 

 

 

Home arrow Johnny Java
Johnny Java

If Johnny Java is speaking, you should probably listen.

Google


How slow is writing to disk? Print E-mail
Written by Johnny Java   
Thursday, 05 October 2006

Even using a BufferedWriter, writing to disk is painfully slow.  If you are updating a file and there is a good

chance that the file hasn't changed, it's worth doing the following:

  1. Build the new file in memory
  2. Read the old file from disk
  3. Compare the contents
  4. Write the new file if necessary

 That's it folks, just a friendly performance note!

Last Updated ( Sunday, 08 October 2006 )
 
Sun JDK 1.4.2_12 InputStreamReader Print E-mail
Written by Johnny Java   
Wednesday, 04 October 2006

Found what looks like a problem in jdk 1.4.2_12:

If you create a java.io.InputStreamReader with an encoding of "UnicodeLittle" (UTF-16LE) and try

to read an UTF-16LE encoded file with no byte order mark you will not get the appropriate data.

This problem does not exist in jdk 1.4.2_10 

 

Last Updated ( Sunday, 08 October 2006 )
 
© 2010 GoCurious
Joomla! is Free Software released under the GNU/GPL License.