[webkit-dev] New smart pointers for efficient refcounting

Maciej Stachowiak mjs at apple.com
Wed Nov 30 13:41:01 PST 2005


On Nov 30, 2005, at 4:47 AM, Alexey Proskuryakov wrote:

> On 30.11.2005 07:24, "Maciej Stachowiak" <mjs at apple.com> wrote:
>
>> I plan to integrate this soon. Any thoughts?
>
>   Does gcc support C++0x move semantics? With CodeWarrior, it gave me
> measurably better performance than PassRefPtr.
>
> - WBR, Alexey Proskuryakov
>
> <reftest3.cpp>

Nope, move semantics are not supported yet in gcc. This is my best  
shot at emulating something similar in a way that will work in older  
compilers. Eventually we will probably want to use move semantics but  
it may be a couple of years before C++0x is widely enough implemented.

Cheers,
Maciej




More information about the webkit-dev mailing list