On 08.01.2010 01:32, Schwab,Wilhelm K wrote:
One should always be *able* to unsubscribe, but it should not be required.
Squeak's weak collections do not measure up to the competition. Please take a look at my 1/2/2010 post "RE: [Pharo-project] Can't debug in 1.1". I doubt SharedLookupTable could be called efficient, but it solved some problems I was having due to the current implementation. I welcome concrete examples of how horrible it is, and offer it up as a starting point or simple inspiration for something more useful.
Bill
I guess I should have quoted Gary's question of whether the approach would be hard to unregister instead. Originally, I (like you) thought not. After actually looking at the implementation, I do. What I posted is one way to "solve" this, weak subscriptions is another. On a scale of "what's harder to get right", I'd bet there's a larger chance of having 2 arg blocks implemented first. Cheers, Henry