|
|
>
> Recently I stumbled over another "trick":
> Using larger compilation units can help if the total
> size is reasonably chosen. I.e. something like
>
> lump.cpp:
> #include "foo.cpp"
> #include "bar.cpp"
> #include "baz.cpp"
>
> with lump.cpp added to the project and {foo,bar,baz}.cpp
> set as "Exclude from build". The idea is that a C++
> compilation unit consists usually of a few hundred lines
> of "user" code, yet #include <vector> + #include <string>
> pull in ~20000 lines of code. With "lumping" as above
> the ratio user/system improves.
>
> Andre'
>
Unfortunately... Andre is right on here. The way that stl templates have been
implemented is so bloated code parsing can take for ever with PCH turned off,
or on template headers where PCH has less effect
Scott
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|