ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47010] Sync task cannot compare file contents
Date Thu, 16 Jun 2011 14:27:11 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47010

--- Comment #4 from Dominique Devienne <ddevienne@gmail.com> 2011-06-16 14:27:11 UTC
---
When I prototyped <sync> I tried comparing files, but it was actually slower
than just copying the source files directly on top of existing files. IMHO
there's no point of fully reading the source and destination file just to
figure out the copy is not necessary. Well at least in my case the source was
almost always way slower to read from than to write to the local destination
folder.

I guess it's possible comparing the files might be faster in some cases than to
just use the overwrite attribute, but I'd like to see actual numbers :)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message