Faster RandomAccessFile
I'm trying to write about 50MB of integers into a binary file using something like this:
for (int j = 0; j<mySize; j++){
myBinaryFile.writeInt(myArray[mySize]);
}
However, this is painfully slow. The 50MB file took around 5 minutes to complete. Is there a faster way? A buffered RandomAccessFile?>

