Asger Ottar Alstrup <[EMAIL PROTECTED]> writes:

| > | > | this I do use BOOST_CURRENT_FUNCTION (and even got flamed for doing so
| > | > | by Asger).
| 
| We profiled stuff and found that in some critical inner loops, the use
| of BOOST_CURRENT_FUNCTION hurt performance a lot. If you want to use
| such stuff, please make sure it is guarded correctly to not hurt
| performance, which I also explained at the time.

Then you are saying that __func__ is hurting a lot... and that is
resolved at compile time, so I just do not belive you.

What costs is writing to lyxerr in the first place, not
BOOST_CURRENT_FUNCTION. A lyxerr null-wirte is not free. (far from it)

-- 
        Lgb

Reply via email to