On Sun, Dec 25, 2011 at 4:20 PM, Miles Bader <[email protected]> wrote: > 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)?
Yes I'm not sure what twisting you're referring too though. > Machines are very fast these days, Build times are still too long. > 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 Did you benchmark PCH? -- Olaf
