I'm having an IO problem. The code below is designed to read a series
of text files (most of these are about 8k) and output them into a
single text file separated by form feed characters. This works very
quickly with sets of files that are in directories containing (say) 90K
doents or fewer. But when there are 200k + doents in the
directories, it begins a substantial amount of time.
The main problem seems to be that sysread seems to be painfully slow
with files in very large directories. At this point, it would be
faster to ...