Premature optimization in f_name_cmp()?

Dag Wieers dag at wieers.com
Mon Mar 14 17:24:15 GMT 2005


On Sun, 13 Mar 2005, Wayne Davison wrote:

> On Mon, Mar 14, 2005 at 10:40:00AM +1100, Andrew Bartlett wrote:
> > Is there a way to make this only look at the 'right' part of sorted-
> > flist, given it's sorted, and is this really needed at all?
> 
> Yeah, that code is really pretty silly.  I neglected to test my
> assumption about how often it would get triggered, and it is actually
> getting run much more often than expected.

Could this be the reason why my rsync 2.6.4pre2 seems to be doing nothing 
for a long time after it has said how much files it considers ?

Would a current CVS checkout have a fix for this so I can verify this ? Is 
CVS in proper shape currently ?

--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]


More information about the rsync mailing list