[UI] Well, shall we do something then?

Chris Muller asqueaker at gmail.com
Thu Sep 20 02:48:24 UTC 2007


I've observed Martin Loewis' new WeakKeyDictionary implementations
reduce the problem dramatically.

    http://bugs.squeak.org/view.php?id=6348

I know sig has done similar work but I haven't had time yet to try it.


On 9/19/07, David T. Lewis <lewis at mail.msen.com> wrote:
> On Wed, Sep 19, 2007 at 12:38:44AM +0300, Igor Stasenko wrote:
> > On 18/09/2007, Gary Chambers <gazzaguru2 at btinternet.com> wrote:
> > > Well, there is the Model but there has to be a linkage for when the model
> > > changes. That's the basics. We need to decide on the way(s) we wish that to
> > > happen. I find changed/update rather inefficient. Much prefer when:send:to:.
> > >
> > > But that's just the start. Pretty fundamental though.
> > >
> > Yes! And i think this is the point where we should start from.
> > How to create flexible event system , how exchange data between view
> > and model. Based on that we then can build up a model which will use
> > it (MVP/Morphic whatever)
>
> A note of caution: The #when:send:to: mechanism can have serious performance
> issues due to its use of weak dictionaries. Performance of the entire image
> is seriously impacted by weak array finalization as the number of these
> dictionaries increases. There is no easy fix for this, so make sure you
> know what you are getting into before you start with an approach based
> on this mechanism.
>
> Dave
>
> _______________________________________________
> UI mailing list
> UI at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/ui
>


More information about the UI mailing list