Funtion to Compile the script

Sep 24, 2013 at 1:09 PM
Hi ,
Excellent work and very easy to use .
But , Is there a facility to compile the script before and execute the compiled object whenever required .
It will really boost the speed of execution.
Oct 8, 2013 at 12:06 AM
JavaScriptDotNet provides nothing to separate compilation from execution. I needed this for my own work, so I have added code to my version that does it, but my solution is too specific to be generally useful so I have not put it in the repository. If you look in JavascriptContext::Run you can see that the compilation stage is already a separate function.