Mail Archives: djgpp/1994/08/15/11:17:22
> If you are doing a lot of I/O, it might help to use setbuf() or setvbuf() to
> enlarge the buffers. I've seen this make a dramatic improvement for programs
> which do little more than copy a file. Of course, this suggestion applies to
> both the BCC and the djgpp versions.
For DJGPP, I don't see how this could help. First, DJGPP reads and
transfers data between real and protected modes in chunks of 4KBytes.
Thus, growing the input buffer to more than 4KB won't get you anywhere.
Second, if you have a disk cache installed (and everybody should
nowadays), it reads ahead for you anyhow.
Eli Zaretskii
- Raw text -