Saturday, September 16, 2006

Faster I/O performance on Unix

The time to read a 606Mb file, 64 bytes at a time using the read word, went down from 458 seconds to 45 seconds after I made a few improvements to the Unix I/O code.

I've been doing a bit of work on I/O performance ever since the Factor I/O performance sucks entry. I expect another big speedup to arrive when I implement faster generic method dispatch, and compiled continuations. Hopefully by then Factor's I/O performance will be competitive with other languages.

No comments: