In computers, why do some files, even if they are the same size, take longer to be moved or deleted than others?

504 views

I noticed this when I deleted a 2 GB video file on my laptop today, which took less than 5 seconds. But when I deleted a separate folder that was smaller than 2 GB, it took way longer to get deleted.

In: Technology

8 Answers

Anonymous 0 Comments

Imagine your computer’s storage like a book, with the data being the writing and the files being the chapters.

When you erase a file, you’re not actually blanking the pages, you’re just removing the chapter from the index.

That’s why a single 2GB file deletes faster than a folder with two hundred 10MB files. Although both cases have 2GB of data, there’s one index entry in one case and two hundred index entries in the other.

You are viewing 1 out of 8 answers, click here to view all answers.