Curt Arnold wrote:

Several compilers including gcc have a mechanism to hint that one branch of an if statement is more likely to be executed. It may be desirable that the LOG4CXX_DEBUG hint that isDebugEnabled will likely return false which would allow better optimization for the normal case. Any comments on the benefits or consequences of providing branch hints?

I'm not sure of what you mean by branch hint. Do you have a small and concrete example ?



Christophe

Reply via email to