Shared_ptr thread safety comes at a huge cost(nerds-central.blogspot.com)
nerds-central.blogspot.com
Shared_ptr thread safety comes at a huge cost
http://nerds-central.blogspot.com/2012/03/sharedptr-performance-issues-and.html
1 comments
Yep. I have a policy of at least replacing any shared_ptr usage with intrusive_ptr, for that reason. (A downside they both share is that they have copy constructors.)