Re: Program inefficiency?



On Sep 29, 9:32 pm, stdazi <std...@xxxxxxxxx> wrote:
On Sep 29, 6:07 pm, Michael.Coll-Ba...@xxxxxxxxxxxxxxxxxxx wrote:

You did not mention the OS, but because you are using
"pathname\editfile.txt", it sounds like you are using an MS OS. From
past experience with various MS OSes, I found that as the number of
files in a directory increases the slower your process runs for each
file.

how so?

Not entirely sure why, but some of the ms docs allude to the fact that
there is a linked list involved (at least for fat-style disks).

-- bjorn

.