gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: [PATCH] arch speedups on big trees


From: Aaron Bentley
Subject: Re: [Gnu-arch-users] Re: [PATCH] arch speedups on big trees
Date: 09 Jan 2004 15:24:29 -0500

On Wed, 2004-01-07 at 21:28, Miles Bader wrote:

> Actually, it also won't fix the case I mentioned.  Basically I'd like to
> see the temporary output file avoided _even when diff is invoked_ (which
> is all too often with the current tla); obvious invoking diff and
> reading the files unnecessarily is a lose, but the number of NFS rpcs
> could maybe be halved by not using an output tmp file, and
> directory-modifying and creation operations seems unusually pokey.

Okay, here you go: 

aaron.bentley--tla-2004/tlasrc--local--1.2
http://www.sourcecontrol.net/~abentley/archives/tlasrc/

patch-10
no temp files except when diff doesn't produce a patch.

patch-9
No binary_files_differ() for hard-linked trees
No diff invocation except when files are different

BUT for the case where diff eventually gets invoked, it does one
redundant binary_files_differ() and two redundant stats.  My assumption
is that running diff takes orders of magnitude longer than
binary_files_differ().

Aaron
-- 
Aaron Bentley
Director of Technology
PanoMetrics, Inc.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]