in reply to Fast file and directory operations
I can't find the difference between opendir and readdir, and just using chdir and doing a foreach loopTry using a while loop with readdir.
Update: I may have misread. I thought you were saying you used a foreach with readdir. See opendir slower than ls on large dirs?.
|
|---|