Slow delete

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
MSpagni
Expert Member
Posts: 537
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Slow delete

Post by MSpagni »

As I already wrote, I use EDP to manage my backups, so it happens that I'm comparing two 1 TB disks, all the files and subdirs at once.
While synching them, of course I copy, overwrite and delete files.

Copying and overwriting small files is a flash. I can't chronometer it.
Deleting even a single file in my archaic computer always takes 9 seconds.

What is slow is not the delete itlself, it's the "filling dir list", so it's largely independent on the number of files deleted.
Why it's so slow? Does it redo the list from scratch?

I know I already asked you about it long ago but, you know, I'm a mule... :wink:
User avatar
psguru
Site Admin
Posts: 2228
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Slow delete

Post by psguru »

Does it redo the list from scratch?
Yes, there are too many things that need to be updated in order to have correct state after deletion. We looked at implementing virtual lists, which would make list generation very fast, but their support in Windows API is somewhat limited. For instance, grouping is not supported.
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 537
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: Slow delete

Post by MSpagni »

Ok, thanks.
User avatar
psguru
Site Admin
Posts: 2228
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Slow delete

Post by psguru »

Having said this, we'll look into making deletion faster in the next version.
psguru
PrestoSoft
Post Reply