[Boost-bugs] [Boost C++ Libraries] #9074: Performance inefficiencies

Subject: [Boost-bugs] [Boost C++ Libraries] #9074: Performance inefficiencies
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-02 09:06:42


#9074: Performance inefficiencies
-------------------------------------------------+-------------------------
 Reporter: Alexander Drichel | Owner: bemandawes
  <alexander.drichel@…> | Status: new
     Type: Feature Requests | Component: filesystem
Milestone: To Be Determined | Severity:
  Version: Boost 1.54.0 | Optimization
 Keywords: |
-------------------------------------------------+-------------------------
 line 1490
 Large stack use

 Local variable "info" uses 16392 bytes of stack space, which exceeds the
 maximum single use of 10000 bytes.

 it should be replaced by uniqe_ptr

 union info_t
 {
   char
 buf[REPARSE_DATA_BUFFER_HEADER_SIZE+MAXIMUM_REPARSE_DATA_BUFFER_SIZE];
   REPARSE_DATA_BUFFER rdb;
 } /*info*/;

 std::unique_ptr<info_t> info( new info_t );
 ...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9074>
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