ZTree.com  | ZEN  | About...  

 Index   Back

Effect of sorting on deletion speed   [Discuss]

By: Peter Shute       
Date: Dec 14,2017 at 18:45
In Response to: [Discuss] Deleting Files in a Sorted Directory (Steve Fields)

> Well, unless you've timed deleting 50K-100K files, then sorting
> does matter.
> Why should the hard drive reader bounce around hundreds of paths to a
> branch when the computer has the Order already laid out in the File
> Allocation Table.

Sorry, I assumed you meant just sorting in the first place. No, I've never timed it. Have you? I'd be interested to know if it makes a difference.

There's a discussion about it here:

I haven't read it in detail, but sorting doesn't seem to be mentioned. One person suggested moving the files elsewhere, which he says is quick, then deleting them overnight. Yet others suggest that it's slower to let them go to the recycle bin, which is really just a move.

Thread locked

Messages in this Thread

94,694 Postings in 11,941 Threads, 348 registered users, 23 users online (0 registered, 23 guests)
Index | Admin contact |   Forum Time: Jan 19, 2020 - 5:39 am EST  |  Hits:29,731,849  (3,128 Today )
RSS Feed