[Boost-bugs] [Boost C++ Libraries] #9169: Make Boost.Ref use BOOST_FORCEINLINE for better performance

Subject: [Boost-bugs] [Boost C++ Libraries] #9169: Make Boost.Ref use BOOST_FORCEINLINE for better performance
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-27 17:15:37


#9169: Make Boost.Ref use BOOST_FORCEINLINE for better performance
-------------------------------------+---------------------
 Reporter: mgaunard | Owner: pdimov
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: bind
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+---------------------
 boost::ref is used a lot to build expression templates or function objects
 which typically need to be inlined to get decent performance.

 Using BOOST_FORCEINLINE ensures that it does get inlined, even when
 minimal inlining options are used.

 It is very important to do this to get acceptable performance in debug for
 some the of the libraries I work on, like Boost.SIMD or NT².

 See the attached patch.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9169>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC