I am using Groovy to do some calculations, within an RCP app. When I first click the button that calls the Groovy code, I get a bit of a delay, which doesn't exist on the next and subsequent clicks. Is there any way I can warm the cache (so to speak) ?
A:
If it's calling the groovy code the first time that slows you down, can't you call the groovy code sometime earlier? Maybe even spin off another thread just to call it?
Vuntic
2010-05-12 16:08:09
very practical. thanks
geejay
2010-05-13 14:38:47