Hi,

I'm new to V8, and had a simple question.

Suppose I define a simple javascript method ("foo") in my v8 context.

One way to repeatedly call foo from C++ is to evaluate the function
call (ex. "foo();") with something like ExecuteString(). Is it somehow
possible to get a more direct reference to the definition of this
function, so that I may avoid the overhead of compiling the string
each time before invoking it?

Thanks.

jt


--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to