this post was submitted on 25 Apr 2024
454 points (95.0% liked)

Programmer Humor

35346 readers
32 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Aria@lemmygrad.ml 2 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] dev_null@lemmy.ml 3 points 1 year ago

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).

[–] devraza@lemmy.ml 1 points 1 year ago (1 children)

when you copy/paste a file on your computer it’s much faster than copying the file

I think you meant ‘when you cut/paste a file’?

[–] Aria@lemmygrad.ml 1 points 1 year ago

Oh yeah I did mean cut/paste, my bad.