|
From: | Paolo Bonzini |
Subject: | [Help-smalltalk] Re: WeakSet>>#includes: and Deprecation |
Date: | Mon, 11 Jun 2007 13:39:00 +0200 |
User-agent: | Thunderbird 2.0.0.0 (Macintosh/20070326) |
address@hidden/smalltalk--backstage--2.2--patch-30 support #includes: on WeakSets against upstream patch-393, attached as weakset-includes.diff.
I don't especially like the patch, but given the current implementation of WeakSets it's probably the best idea. An alternative would be to reimplement #findIndex: and #add: as in Dictionary (and add a few other affected methods, like #rehashObjectsAfter:). For now I'll keep yours.
smalltalk--backstage--2.2--patch-31 smalltalk--backstage--2.2--patch-32
Applied. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |