rniwa at webkit.org
Sat Oct 26 11:45:40 PDT 2013
I don't think we can afford to use shared_ptr. As far as I know, it
allocates a new memory space for each object to be shared. Doing that for
every DOM node will probably be prohibitively expensive.
- R. Niwa
On Sat, Oct 26, 2013 at 11:16 AM, Brendan Long <self at brendanlong.com> wrote:
> On 10/25/2013 06:38 PM, Darin Adler wrote:
> > We are replacing PassOwnPtr and OwnPtr with std::unique_ptr. This is
> > part of a general trend where we are adopting some C++11 language and
> > library features.
> Is there any plan to replace RefPtr with std::shared_ptr too, or is
> there some reason why that would be a bad idea?
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev