Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by stefbv (Curate)
on Aug 19, 2013 at 05:56 UTC ( #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? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2021-07-30 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?