[Date Prev][Date Next] [Chronological] [Thread] [Top]


> Any debug/log mechanism that requires a function call before it can decide
> whether or not to execute will impose a noticable performance loss.

A minor mitigation is that the compiler optimization can inline the
function call in the final binary (unless you are jumping into libc or
somesuch), cutting the performance loss.