[cfe-commits] r61929 - in /cfe/trunk: Driver/RewriteObjC.cpp include/clang/AST/DeclBase.h include/clang/AST/DeclObjC.h lib/AST/DeclBase.cpp lib/AST/DeclCXX.cpp lib/AST/DeclObjC.cpp lib/CodeGen/CGObjCGNU.cpp lib/Sema/IdentifierResolver.cpp lib/Sem

Fariborz Jahanian fjahanian at apple.com
Fri Jan 9 09:01:22 PST 2009


On Jan 8, 2009, at 5:49 PM, Daniel Dunbar wrote:

> I don't really understand your message Fariborz. My tester runs with a
> Release-Asserts build so it should be at -O3 if you are referring to
> the actual build of clang itself.
>
> And I'm not really sure how this related to the commit, I had hoped
> that there would be a speedup due to the more efficient lookup
> mechanism.

I just raised a general point that as we increase
the length of derivation hierarchy, there is bound to be more  
construction/destructor
calls. This contributes to some slow-downs, unless all such calls are  
inlined, If -O3
inlines all such calls then this is a moot point. I believe some of  
the recent changes
has increased the length of the inheritance hierarchy.

- fariborz




More information about the cfe-commits mailing list