in reply to •Re: Finding oldest file in directory
in thread Finding oldest file in directory
"it'd be faster to cache your stats for the sort"
Depends on what does "oldest" mean, and how files are created, modified and removed from the directory. The catched info might not be correct and useful. It probably just increases the complexity of the program, with 10+ files in the directory, most likely not worth it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Finding oldest file in directory
by halley (Prior) on Oct 18, 2004 at 18:41 UTC | |
Re^3: Finding oldest file in directory
by Fletch (Bishop) on Oct 18, 2004 at 18:58 UTC |