this post was submitted on 31 Oct 2025
779 points (98.3% liked)
Programmer Humor
27193 readers
1046 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I take it you don't Windows much?
Windows moves the file from its current folder to the hidden system folder C:\$Recycle.Bin\. That involves copying file metadata, updating NTFS records, and possibly moving the file across volumes (which becomes a full file copy+delete).
Large files or folders with many entries take longer because NTFS has to record each move, update security descriptors, and maintain the Recycle Bin’s index.
If the file is on another drive than the C-drive, the system literally copies it into that drive’s recycle bin folder, then deletes the original.
Nobody said Windows did this stuff efficiently.
Windows doesn't do any recycle bin data compression. And System Restore is a completely separate, unrelated system. So no it doesn't do any of that.
I didn't say the Recycle Bin does any data compression, I said System Restore does data compression, and this is indeed a known fact.
Sure, but neither is relevant to the recycle bin.
Windows has some other features hiding behind the scenes and bogging the system down when files get changed, like Restore Previous Versions...
https://support.microsoft.com/en-us/windows/backup-and-restore-with-file-history-7bf065bf-f1ea-0a78-c1cf-7dcf51cc8bfc
I do believe that feature is closely tied with System Restore as well..
What? File History is a completely different system. System Restore makes occasional restoration points and is enabled by default, File History needs to be set up to use it. It's disabled by default and Microsoft seems to be actively trying to hide it (try finding it in the Win11 settings screen; you won't find it there) so people use OneDrive to back their stuff up instead.
Coming from Windows 2003, Vista Ultimate and 7 Ultimate era, Restore Previous Versions was enabled by default, and was a side service of System Restore..
Right I get what you mean now. "File History" =/= "Previous Versions". But "Previous Versions" has been entirely replaced since Win8, so not entirely relevant.
It's also completely unrelated to file deletions, because the VSS system both System Restore and Previous Versions use worked on the block-level, and as you already pointed out blocks aren't written to when a file is deleted, it either gets copied over to the recycle bin or just marked as deleted, but neither affect the block contents (VSS works on a CoW principle, blocks are backed up only if written to, but live performance is basically unaffected by this unless you're doing huge loads like big DB modifications or something.