Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Will checking last modified date take more time than just overwriting?

by stefbv (Curate)
on Aug 19, 2013 at 05:56 UTC ( [id://1049971]=note: print w/replies, xml ) Need Help??


in reply to Will checking last modified date take more time than just overwriting?

The best answer you get is by including benchmarking code in both versions.

But, i think that the time spent with checking for the modified time on files should be compensated with time gained by skipping some of the files. Copying should be more expensive than checking for the modified time.

Other options, yes: rsync.

Thanks for the cookie, a very nice day to you! :-)

Stefan

  • Comment on Re: Will checking last modified date take more time than just overwriting?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1049971]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-24 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found