tech-pkg archive

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

Re: pkgsrc performance

On Tue, Feb 24, 2009 at 09:22:13PM +0100, Joerg Sonnenberger wrote:
 > On Tue, Feb 24, 2009 at 08:12:47PM +0000, David Brownlee wrote:
 > >    Is there prior art for this?
 > cpp(1) has logic to detect if headers are
 > #ifndef FOO
 > #define FOO
 > ...
 > #endif
 > and does the processing for #include <foo.h> completely internal,
 > without even another stat.

As some people know, I've been contemplating teaching make to cache
files after parsing them, saving not just the read but also the parse,
and maybe optimizing the parsed files some too.

However, this is rather nontrivial, so don't wait up for it or plan
around the possibility...

David A. Holland

Home | Main Index | Thread Index | Old Index