[GRECLIPSE] Can DSLDs be cached?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[GRECLIPSE] Can DSLDs be cached?

aalmiray
Hi there,

Some Griffon developers are experiencing problems with https://github.com/griffon/griffon-swing-plugin/blob/master/src/cli/dsld/swing.dsld

Problem is this script uses introspection to figure out all the possible properties Swing components expose. this calculation takes time, and apparently it's executed over and over again. This leads to "freezes" and unresponsive editors when opening View scripts.

Is it possible to cache these computations?

Cheers,
Andres
Reply | Threaded
Open this post in threaded view
|

Re: [GRECLIPSE] Can DSLDs be cached?

Andrew Eisenberg
This kind of situation is not really what dsld was designed for. DSLDs scripts should not be doing much calculation themselves.   Perhaps the best approach is to move towards using an eclipse plugin that properly calculates and caches members.

That being said it certainly worth exploring how we can do better at caching.


On Wed, Apr 17, 2013 at 1:34 AM, aalmiray <[hidden email]> wrote:
Hi there,

Some Griffon developers are experiencing problems with
https://github.com/griffon/griffon-swing-plugin/blob/master/src/cli/dsld/swing.dsld

Problem is this script uses introspection to figure out all the possible
properties Swing components expose. this calculation takes time, and
apparently it's executed over and over again. This leads to "freezes" and
unresponsive editors when opening View scripts.

Is it possible to cache these computations?

Cheers,
Andres



--
View this message in context: http://groovy.329449.n5.nabble.com/GRECLIPSE-Can-DSLDs-be-cached-tp5715077.html
Sent from the groovy - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email