Which is faster on Visual C++ 2010 - std::shared_ptr or boost::shared_ptr?

Viewed 1568

Has anyone tested this in release mode builds? Or are the implementations so similar there's no significant difference?

I'm interested in the speed to:

  1. Create a new shared_ptr

  2. Create a copy of the shared_ptr

  3. De-reference the pointer to access the pointee

This would be in a release build optimized for speed with new shared_ptrs being created with make_shared()

2 Answers
Related