Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 024D26BA4 for ; Thu, 16 Jun 2011 14:27:35 +0000 (UTC) Received: (qmail 92105 invoked by uid 500); 16 Jun 2011 14:27:34 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 92071 invoked by uid 500); 16 Jun 2011 14:27:34 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 92064 invoked by uid 99); 16 Jun 2011 14:27:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 14:27:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 14:27:32 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id BBD51489A9; Thu, 16 Jun 2011 14:27:11 +0000 (UTC) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 47010] Sync task cannot compare file contents Date: Thu, 16 Jun 2011 14:27:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Other X-Bugzilla-Keywords: PatchAvailable X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ddevienne@gmail.com X-Bugzilla-Status: NEEDINFO X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=47010 --- Comment #4 from Dominique Devienne 2011-06-16 14:27:11 UTC --- When I prototyped 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.