Script source caching

Oct 4, 2013 at 4:00 PM
Edited Oct 4, 2013 at 4:10 PM
Hi

What caching does Jurassic do on the scriptSource argument passed to the Execute method? Does Jurassic create any cache dependencies?

Thanks
Coordinator
Oct 6, 2013 at 11:16 AM
I did experiment with adding caching in ScriptEngine.Eval (IIRC it improves the SunSpider score quite significantly) but that code is commented out. So no, script source is not cached. (I don't remember why I commented it out; maybe I just didn't finish implementing it)