Opened 14 years ago
Closed 14 years ago
#2662 closed Patches (fixed)
make_shared performance optimization
| Reported by: | Frank Mori Hess | Owned by: | Peter Dimov |
|---|---|---|---|
| Milestone: | Boost 1.39.0 | Component: | smart_ptr |
| Version: | Boost 1.37.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
Attaching a small patch which adds a copy constructor to detail::sp_ms_deleter. This patch greatly improves the performance of make_shared<T> when T is a large type by avoiding unnecessary copying of the storage area in the deleter.
Attachments (1)
Change History (5)
by , 14 years ago
| Attachment: | make_shared_optimization.patch added |
|---|
comment:1 by , 14 years ago
| Milestone: | Boost 1.38.0 → Boost 1.39.0 |
|---|---|
| Status: | new → assigned |
comment:2 by , 14 years ago
| Severity: | Optimization → Problem |
|---|
comment:3 by , 14 years ago
comment:4 by , 14 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

(In [51516]) Refs #2662 (applied to trunk.)