help-make
[Top][All Lists]
Advanced

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

RE: why are all prerequisites timestamps checked, even after one is foun


From: Mark Galeck (CW)
Subject: RE: why are all prerequisites timestamps checked, even after one is found to be newer than target??
Date: Mon, 14 Dec 2009 11:14:23 -0800

>I guess maybe Windows is different, but on POSIX systems the cost of
doing the extra "stat" calls is not significant enough to try to make
this behavior more complex just to avoid them.

Not necessarily, I was just checking some other things, and I was startled to 
discover the apparently unnecessary checking, I thought if I could prevent this 
maybe I could save some time.  

There is lots of things that I discovered, that should in principle save time, 
but in practice don't - like converting implicit to explicit rules, once 
targets are discovered, or adding :; after all the sources to prevent implicit 
lookup.  Typically the cost of maintaining these things, turns out to be about 
the same as the "savings".  
.  

Mark





reply via email to

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