can we put shouldDoDUChainReferenceCountingInternal into the non-Internal function?

David Nolden zwabel at googlemail.com
Wed May 5 17:27:37 UTC 2010


We have to make sure that shouldDoDUChainReferenceCounting doesn't
become too fat, because else the compiler won't inline it, even if you
mark the function "inline".

Otherwise, it should be fine to inline the rest of the code, and
actually it doesn't even contain a loop, so the inlining shouldn't be
a problem. It might make sense to verify by some profiling that this
won't cause a regression in the end.

Greetings, David




More information about the KDevelop-devel mailing list