Collection of bad coding practices

Archive for the ‘I/O’ Category

Unbuffered I/O

with 2 comments

Reading and writing I/O streams byte-by-byte is too expensive, as every read()/write() call refers to the underlying native (JNI) I/O subsystem. Usage of buffered streams reduces the number of native calls and improves I/O performance considerably.

Read the rest of this entry »


Written by Alex

November 22, 2007 at 2:41 pm

Posted in I/O

Tagged with