this post was submitted on 25 Apr 2024
450 points (95.0% liked)
Programmer Humor
32464 readers
551 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's actually not true. When you cut/paste a file on your computer (for most computers), it's much faster than copying the file. Deleting the file is also not instant, so copy and delete should be the slowest of the three operations.
When you cut and paste a file, you're just renaming the file or updating the file database. It's different how that works depending on your file system, but it typically never involves rewriting much of the data of the file.
Edit: Fixed typo.
Only if you copy and paste to the same disk. When copy pasting to a different disk, as any consciousness transfer would entail, it is very much actually copied and actually removed (from the index).
I think you meant ‘when you cut/paste a file’?
Oh yeah I did mean cut/paste, my bad.