Dave Hart <[email protected]> writes:
> True, but most C/C++ #includes orders of magnitudes more lines than
> they contain themselves, so assuming the source code is rearranged to
> have a "precomp.h" containing the bulk of #includes, the compile will
> be notably faster.

Faster enough to be worth the annoyance for the developer of twisting
his source code to fit the "pch style" (which seems notably uglier)?

Machines are very fast these days, and even using tons of big headers,
C++ parsing doesn't seem such a big deal as it maybe used to.
[AFAICT, slow compilation seems far more often connected with
optimization than parsing.]

-Miles

-- 
Barometer, n. An ingenious instrument which indicates what kind of weather we
are having.

Reply via email to