Boost logo

Boost :

Subject: Re: [boost] BOOST_FORCE_INLINE
From: Kai Schroeder (kaischroeder3_at_[hidden])
Date: 2011-10-10 11:33:19


FYI: Such a macro already exists in boost/gil/gil_config.hpp as
GIL_FORCEINLINE. It reduces to just "inline" for debug builds but
apart from that does what you propose.

Regards, Kai

On 10/10/11, Sebastian Redl <sebastian.redl_at_[hidden]> wrote:
> On 10.10.2011 12:11, Thorsten Ottosen wrote:
>> Den 10-10-2011 11:54, Phil Endecott skrev:
>>> Thorsten Ottosen wrote:
>>
>>>> Hence I used __force_inline.
>>>
>>> Did you also try profile-driven optimisation?
>>
>> Yes, it gave a little extra, but not much.
> Also, for some projects, profile-driven optimization is simply not
> feasible. We evaluated it here at work, and it just didn't work out. Too
> many code paths that are hot in different circumstances, and the
> profile-enabled executable was just too slow. (We develop
> high-performance simulation software.)
>
> Sebastian
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk