From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-01-30 14:33:19


David Maisonave wrote:

> On my test, reference-link is over 25% faster than reference-count
> logic for initialization.

This only matters if the only thing you do is initialize. This is best-case
scenario for reference-linked for both performance and memory use. How often
is that the case in real code?

Then there are thread safety, custom deleters, weak_ptr support,
enable_shared_from_this, and competition from intrusive_ptr on the low end,
which should be even faster in ST mode.