Headers including headers and precompilation
Rob Landley
rob at landley.net
Fri Mar 31 20:23:22 UTC 2006
On Friday 31 March 2006 1:12 pm, Devin Bayer wrote:
> > but it also brings lots of unnecessary symbols and
> > definitions into the namespace of each file, increasing memory
> > requirements to compile, decreasing speed,
>
> I assume you mean decreasing compile speed. Wrong. On a modern system
> it's faster to use precompiled headers for the entire system then to use
> even a single un-precompiled header.
The ironic part is that this:
http://busybox.net/cgi-bin/viewcvs.cgi?rev=10945&view=rev
Sped up compilation by at least a factor of three, and that bug was in the
tree for _years_ before anybody actually noticed it.
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list