Hi,
In JavaScript, when I enter a new function, I get a new local variable
scope. E.g. like this:
function f() {
var x = 42; // this is in our local variable scope
// other code
}
I want to do the same now in V8. I have `other code` as a `String` and
compile it via `Script::Compile` and run it via `Script::Run`.
Right now, I create a new `Context` but I think this is total overkill. It
also means that I have to reinit my globals in the new context. It also
feels slow.
Regards,
Albert
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.