On Thu, Mar 7, 2013 at 9:13 AM, Erik Arvidsson <[email protected]> wrote:
> Inline > > On Wed, Mar 6, 2013 at 7:03 PM, Hajime Morrita <[email protected]> wrote: > >> One consequence is that it will become harder to cache (including >> negative cache) these values. We need to traverse the prototype chain in >> C++, which is typically slower than doing it in JS, on every lifecycle >> event. Or we need to invent something cool to make it fast. >> > > 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. > Right. We can just Get() can Call() it. Possible saving by caching these functions in C++ side is the Get() call then. > > -- > erik > > > -- morrita
