Page 1 of 1

Slow delete

Posted: Sat Oct 12, 2019 2:12 am
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:

Re: Slow delete

Posted: Sat Oct 12, 2019 1:48 pm
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.

Re: Slow delete

Posted: Sun Oct 13, 2019 1:20 am
by MSpagni
Ok, thanks.

Re: Slow delete

Posted: Sun Oct 13, 2019 3:44 pm
by psguru
Having said this, we'll look into making deletion faster in the next version.