Re: [Fresco-devel] Suggested addition to Coding Style-guide

Gabriel Dos Reis <[email protected]> 13 Apr 2003 02:21:51 +0200
Newsgroups gmane.comp.video.fresco.devel
Organization Integrable Solutions
Message-ID <[email protected]>
Nathaniel Smith <[email protected]> writes:

[...]

| > I didn't realise that "regular" gcc supports precompiled headers these
| > days. Since when is that the case?
| 
| It isn't the case.  gcc's mainline supports them, but no release does;
| AFAIK they didn't even make it into 3.3 (which will be released any
| time now).

The reason GCC-3.3 didn't have PCH was unfortunate timeframe and
cascading renamings.  I won't reopen that debate here; if you're
following GCC lists you probably read my opinion on that issue.

[...]

| 3.3).  However, I suspect that the worst time-sink is not in our code,
| but in the STL headers and _possibly_ OmniORB's generated headers.

I believe you suspect right.  I measured that more than a quarter of
time is spent by g++ on name lookup (I used Qt-3.1.1 sources but that
seems to be generally the case for most C++ programs) and I'm
working on reducing name lookup time.

-- Gaby