Marcus Lindblom wrote:
> Dirk Reiners wrote:
>   
>>      Hi Marcus,
>>
>> Marcus Lindblom wrote:
>>   
>>     
>>> Yup. Changing fcd2code so that it generates external include guards 
>>> should be quite easy, and helpful, in terms of compilation perf.
>>>     
>>>       
>> I don't know. Has anybody run those kinds of tests with 2005? The gcc 
>> results 
>> indicate that it's very possible to make external and internal ones perform 
>> equally well, so MS might have done the same thing. 
>>     
Update: Actually, reading through the link that I posted earlier 
properly, it seems that including a lot of files isn't really a problem. 
I would suppose though that the amount of template instantiation / code 
generation that is being doine could be. Reducing public code that 
accesses templates could help here.

Perhaps the focus should be shifted more to separate impl from usage. 
For one, I know that many inline-declared functions aren't inlined in 
OpenSG (since they show up in callstacks when running in release mode) 
so this means that every file including them has to compile them 
instead. There are some big inline functions in OpenSG.

Also, for full builds, it'd be interesting to someday try something like 
mashing all cpp's into one (or a few, if we hit some limits) and see how 
that fares. :)

/Marcus

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to