Re: [webcomponents]: Moving custom element callbacks to prototype/instance

On 3/6/13 7:13 PM, Erik Arvidsson wrote:
> There is no reason to walk the prototype chain from C++ (speaking from
> WebCore+V8/JS experience). You can invoke the method using the V8/JSC APIs.

This is just as slow as walking the proto chain, in the end, because it 
can't benefit from the various optimizations JITs do to not make this 
sort of thing slow.

-Boris

Received on Thursday, 7 March 2013 01:49:06 UTC