This project has moved and is read-only. For the latest updates, please go here.

Script source caching

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

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

Oct 6, 2013 at 12:16 PM
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)