From: David Abrahams (dave_at_[hidden])
Date: 2003-02-11 08:05:56
Vladimir Prus <ghost_at_[hidden]> writes:
> David Abrahams wrote:
>> Vladimir Prus <ghost_at_[hidden]> writes:
>>>>:-). Now you can apply the header cache and move the hotspot back
>>>>into our code. ;-)
>>>Actually, *our* code which deals with scanning is hotspot. There must be
>>>some obvious inefficiencies.
>> If you mean the code which processes the #include... lines, using the
>> header cache, it would be called much less.
> Do you mean that the same file is scanned several times in common setting? Why?
Normally, yes, because stock Jam is stupid ;-).
I'm not sure if the header cache patch by itself eliminates this
re-scanning, but it looks like it does. However, turning on the
HCACHEFILE will speed up consecutive builds by preventing re-scanning
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk