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 06:49:46PM +0100, Hubert Feyrer wrote:
> Not knowing what you've straced there, reading the same file 12000 times  
> sounds insane.

bsd.(fast.) is included all over the place. The fast version
exists simply to not have to check for the include guards all over the
place, but still minimize parse time. It is 8 lines long, including 5
lines of unparsed noise. So it adds only a few system calls, but
otherwise doesn't contribute to parse time.


Home | Main Index | Thread Index | Old Index