$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Daniel Frey (d.frey_at_[hidden])
Date: 2008-04-22 02:29:33
On Mon, 2008-04-21 at 20:14 -0400, Frank Mori Hess wrote:
> On Monday 21 April 2008 18:18, Daniel Frey wrote:
> > The attached patch optimizes the current implementation of
> > enable_shared_from_this, it saves one plain pointer. That might not be
> > very much, but it's a start. It is 100% compatible for the users, no
> > features are dropped. Further improvements might be possible, but I
> > think the attached patch is a good base.
>
> I believe it would be possible to replace _internal_shared_this and the
> shared_ptr inside the deleter wrapper with a single shared_count.
That would be the next logical step, but it is not as easy as replacing
the weak_ptr. Which is why I try to get as much of the other patches in
before attacking this idea, it should make it easier once the patches to
discuss become smaller.
Regards, Daniel