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: 08 Jan 2004 17:32:27 -0500

On Thu, 2004-01-08 at 17:03, Chris Mason wrote:
> On Thu, 2004-01-08 at 16:55, Aaron Bentley wrote:
> > 
> > Sure, but most tools can accept data on stdin, so in theory you don't
> > even need a tmp file.  Or are we using some utility that won't play
> > ball?
> 
> One primary purpose for taking the diffs is making changesets, where we
> actually want the diff output in file form for storing in the changeset
> dir.  It makes more sense to me to avoid creating the temp file unless
> you actually need it, mostly because it is a small change that covers
> the most common case.

I think there's a bit of crosstalk-- as I read it, Miles wants to avoid
creating the tmp even when diff has output, because renames are
expensive on NFS.

That would mean going straight to the final filename when producing
changesets.  But I haven't looked at the code, so I don't know whether
that's practical or not.

Aaron

-- 
Aaron Bentley
Director of Technology
PanoMetrics, Inc.





reply via email to

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