Opened 9 years ago

Last modified 9 years ago

#9074 new Feature Requests

Performance inefficiencies in boost::libs::filesystem::src::operations.cpp

Reported by: Alexander Drichel <alexander.drichel@…> Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost 1.54.0 Severity: Optimization
Keywords: Cc:

Description

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 ); ...

Change History (1)

comment:1 by Alexander Drichel <alexander.drichel@…>, 9 years ago

Summary: Performance inefficienciesPerformance inefficiencies in boost::libs::filesystem::src::operations.cpp
Note: See TracTickets for help on using tickets.