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: Chris Mason
Subject: Re: [Gnu-arch-users] Re: [PATCH] arch speedups on big trees
Date: Fri, 09 Jan 2004 09:39:18 -0500

On Fri, 2004-01-09 at 09:22, Aaron Bentley wrote:
> On Thu, 2004-01-08 at 17:51, Miles Bader wrote:
> 
> > 
> > I don't know -- the current codebase doesn't seem to use
> > arch_binary_files_differ before diffing; maybe your code-base does
> 
> His does, as does mine.
> 
> > Doing a binary comparison before diffing is a solution to this problem,
> > but of course ends up reading the files twice.  
> 
> For hard-linked trees, my branch will avoid the read.

Vanilla arch tries to avoid the read as well, checking against the inode
sig.  But it does this after restating the files, so an early check is a
good thing (haven't read your patch, sorry).

A command to relink the project tree to the revision library or pristine
tree will probably help keep the tree from slowing down over time.  The
hard link stuff is a huge performance win.

-chris






reply via email to

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