On Mon, Mar 10, 2014 at 11:30 PM, Jane Chen <[email protected]> wrote: > I realize that Script is actually compiled under a specific context. Given > that, is it a good practice to cache a Script object and re-run it in > different context?
Use Script::New() instead of Script::Compile(), the former is context independent. In case of doubt, consult v8.h, it's documented in there. -- -- 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.
