Boost C++ Libraries: Ticket #9074: Performance inefficiencies in boost::libs::filesystem::src::operations.cpp https://svn.boost.org/trac10/ticket/9074 <p> line 1490 Large stack use </p> <p> Local variable "info" uses 16392 bytes of stack space, which exceeds the maximum single use of 10000 bytes. </p> <p> it should be replaced by uniqe_ptr </p> <p> union info_t { </p> <blockquote> <p> char buf[REPARSE_DATA_BUFFER_HEADER_SIZE+MAXIMUM_REPARSE_DATA_BUFFER_SIZE]; REPARSE_DATA_BUFFER rdb; </p> </blockquote> <p> } /*info*/; std::unique_ptr&lt;info_t&gt; info( new info_t ); ... </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9074 Trac 1.4.3 Alexander Drichel <alexander.drichel@…> Mon, 02 Sep 2013 12:28:21 GMT summary changed https://svn.boost.org/trac10/ticket/9074#comment:1 https://svn.boost.org/trac10/ticket/9074#comment:1 <ul> <li><strong>summary</strong> <span class="trac-field-old">Performance inefficiencies</span> → <span class="trac-field-new">Performance inefficiencies in boost::libs::filesystem::src::operations.cpp</span> </li> </ul> Ticket