Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Reference one compiled script from another

0
0
Hi Eric,

Not sure what you mean by "referencing one script from another". As a script is executed, it may leave functions and/or data hanging somewhere off the global object, and subsequent scripts are free to access those artifacts.

Script compilation can provide a significant boost, but remember that a compiled script is bound to the runtime that created it. You can reuse it in other engines within the runtime, but not in other runtimes.

Good luck!

Viewing all articles
Browse latest Browse all 2297