logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe de VIENNE <cdevie...@alphacent.com>
Subject Re: LOG4CXX macros
Date Thu, 12 Aug 2004 15:04:52 GMT
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

Mime
View raw message