i'm trying to do some fast text processing on files, and it seems that the bottleneck in terms of speed is reading and writting to the file.
the processing is very fast. is there any way to speed-up feading and writting to files? i increased the read/write buffer size but it didnt make much difference. the H/D light flashes in the same rate as well.
does the buffer-size on fread/fwrite make any difference? or does it keep it's own internal buffers anyway and only when they are full it flushes them to disk?
one more thing...the c++ fstream way of dealing with files, is it any faster?
thanks a lot