[Top][All Lists]

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

Re: substantial 'glob' speedup ...

From: Paul Smith
Subject: Re: substantial 'glob' speedup ...
Date: Sun, 17 Apr 2011 22:00:16 -0400

On Wed, 2011-04-06 at 12:35 +0100, Michael Meeks wrote:
> Anyhow - one problem we are seeing is that as we load and parse the
> ~50Mb of dependencies that we need (for part of writer) we are statting
> the same files involved in dependencies sometimes a thousand times or
> so. We do around 700k stats with lots of duplication.
> These ~all come from calling 'glob'; I append a patch that tries to
> call glob only if needed - it could be done more prettily:

Try this one and see if it works as well.

 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

Attachment: globfree.diff
Description: Text Data

reply via email to

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