[RFC] speed up walk of working dir by 20-25%

Matt Mackall mpm at selenic.com
Tue Jun 13 14:12:12 CDT 2006


On Tue, Jun 13, 2006 at 11:18:51AM -0700, Jeremy Fitzhardinge wrote:
> Matt Mackall wrote:
> >Not an unreasonable thing to do. But is this portable to anything but 
> >Linux?
> >  
> I think *BSD supports it.  If d_type is present and not DT_UNKNOWN then 
> it can be relied on; otherwise just fall back to using lstat.

Yes, that sounds familiar.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list