Why does it take so much longer to download data on devices than to delete it?

313 views

[ad_1]

Why is it that it takes my phone almost an hour to download 6GB worth of data for an app, but upon deleting the app, it only requires less than 10 seconds to wipe all the data in the app from my phone? By deleting the app from the phone, I mean deleting the app from the home page. Thanks in advance!

In: Technology
[ad_2]

>it only requires less than 10 seconds to wipe all the data in the app from my phone?

This is not what happens.
A simple deletion is instant because your operating system does not physically move around or remove data. It simply assigns the existing data a new path or removes an existing one. Think of it as changing labels in a warehouse – instead of moving a box from row 1 to row 4, you simply look at row 1 and say “this is now row 4”.
In that case it’s “this row is empty”.

Deleting data on a computer or phone only means marking the space it takes up as available for re-use. That’s rather fast since the data is not “wiped clean” or otherwise destroyed. It merely becomes unseen by you. Downloading an app or files, however can only proceed as fast as your cellular or wifi network can deliver the data so it generally takes much longer.

“Deleting” a file doesn’t really delete it; the phone just says “hey, this whole big chunk of storage space isn’t used anymore”. Then the next time it needs to look for a place to store data, it might use some of that big “deleted” block.

Pointing at something and saying “That’s not used. I can re-use it now.” takes a second. Downloading 6 gigs takes many, many seconds.

* Downloading = putting everything in a specific place in memory byte-by-byte, and then adding it to the list of things in memory.
* Deleting = removing it from the list.
* Deleting doesn’t remove it from memory byte-by-byte.
* But by removing it from the list, the device knows it can just write over the old data with new data when it needs to.

**Please read this entire message**

Your submission has been removed for the following reason(s):

* ELI5 requires that you *search the ELI5 subreddit for your topic before posting*.

Users will often either find a thread that meets their needs or find that their question might qualify for an exception to rule 7.

Please see this [wiki entry](http://www.reddit.com/r/explainlikeimfive/wiki/how_to_search) for more details (Rule 7).


If you would like this removal reviewed, please read the [detailed rules](https://www.reddit.com/r/explainlikeimfive/wiki/detailed_rules) first. **If you believe this submission was removed erroneously**, please [use this form](https://old.reddit.com/message/compose?to=%2Fr%2Fexplainlikeimfive&subject=Please%20review%20my%20thread?&message=Link:%20https://www.reddit.com/r/explainlikeimfive/comments/kmj5kc/-/Please%20answer%20the%20following%203%20questions:1.%20The%20concept%20I%20want%20explained:2.%20Link%20to%20the%20search%20you%20did%20to%20look%20for%20past%20posts%20on%20the%20ELI5%20subreddit:3.%20How%20is%20this%20post%20unique🙂 and we will review your submission.