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 <s...@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@lists.webkit.org > https://lists.webkit.org/mailman/listinfo/webkit-dev >
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev