Program inefficiency?
thebjorn
BjornSteinarFjeldPettersen at gmail.com
Sat Sep 29 15:58:04 EDT 2007
On Sep 29, 9:32 pm, stdazi <std... at gmail.com> wrote:
> On Sep 29, 6:07 pm, Michael.Coll-Ba... at VerizonWireless.com 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
More information about the Python-list
mailing list