[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The speed of glob()

On Wed, Jul 29, 2020 at 8:25 PM Gisle Vanem <gisle.vanem at> wrote:
> Chris Angelico wrote:
> > BTW, I just noticed something. The path you're using for testing
> > purposes is "e:/net". Is that network-attached or local? If it's a
> > remote mount of some sort, then that will make a HUGE difference
> No. Did the word 'net' make you think that :-) It's a local
> FAT32 partition where I keep old 'net' related projects.
> Whether it's NTFS or FAT32 should hopefully not matter for
> relative speed-compares.

It made me wonder, and I asked just in case :) The file system quite
probably WILL make a difference, but only in the sense that different
FSes will see greater or lesser effect from the same changes. The
direction of the change should be the same regardless.