JavaScript::Script - Pre-compiled JavaScript |
JavaScript::Script - Pre-compiled JavaScript
If you have a big script that has to be executed over and over again compilation time may be significant.
The method compile
in JavaScript::Context
provides a mean of returning a pre-compiled script which is
an instance of this class which can be executed without the need of compilation.
JavaScript::Script - Pre-compiled JavaScript |