449
submitted 6 months ago by roon@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Aria@lemmygrad.ml 2 points 6 months ago* (last edited 6 months ago)

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 6 months 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 6 months ago

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 6 months ago

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

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

Programmer Humor

32483 readers
299 users here now

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

Rules:

founded 5 years ago
MODERATORS