Re: [JavaScript] Caching javascript compilation objects

2014-05-23 Thread Carsten Ziegeler
Hi, yes I think this should be possible. In addition, the cache needs to be invalidated when a script changes, but we have resource events for this. Regards Carsten 2014-04-08 10:18 GMT+02:00 Marius Andrei Danila : > Hello everyone, > > I’m encountering some performance problems when running J

[JavaScript] Caching javascript compilation objects

2014-04-08 Thread Marius Andrei Danila
Hello everyone, I’m encountering some performance problems when running JS scripts in Sling and after looking at the Rhino script engine it seems that the engine does not cache the compiled version of the script being run. This means that for each JS source, the Rhino engine will compile the co