You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by Sandro Martini <sa...@gmail.com> on 2009/06/04 11:00:45 UTC

Re: [jira] Commented: (PIVOT-122) Optimize WTK class loading

Hi to all,
to optimize performances, maybe some tricks related to Singletons
could help (if not already implemented), take a look here:

http://crazybob.org/2007/01/lazy-loading-singletons.html

Bye,
Sandro

Re: [jira] Commented: (PIVOT-122) Optimize WTK class loading

Posted by Todd Volkert <tv...@gmail.com>.
That's a very interesting article and discussion, but at least for the WTK
classes, we assume that we're executing on the UI thread, so we can probably
get away with non-synchronized lazy loading of singletons.

-T

On Thu, Jun 4, 2009 at 5:00 AM, Sandro Martini <sa...@gmail.com>wrote:

> Hi to all,
> to optimize performances, maybe some tricks related to Singletons
> could help (if not already implemented), take a look here:
>
> http://crazybob.org/2007/01/lazy-loading-singletons.html
>
> Bye,
> Sandro
>