[Python-ideas] Speed up os.walk() 5x to 9x by using file attributes from FindFirst/NextFile() and readdir()

random832 at fastmail.us random832 at fastmail.us
Thu Nov 15 22:45:22 CET 2012


On Wed, Nov 14, 2012, at 20:37, Ben Hoyt wrote:
> Not currently. I haven't thought about this too hard -- there way be a
> bit that's always set/not set within st_mode itself. Otherwise I'd
> have to add a full_st_mode or similar property

Why not just add d_type?



More information about the Python-ideas mailing list