Dictionary>>#collect: should return a dictionary
Mathieu Suen
mathk.sue at gmail.com
Wed Feb 14 21:41:53 UTC 2007
Yes of course so how to get the same behavior? provide a new method
in Dictionary?
Math
On Feb 14, 2007, at 10:17 PM, Klaus D. Witzel wrote:
> Hi Math,
>
> on Wed, 14 Feb 2007 21:48:21 +0100, you wrote:
>> Hi,
>>
>> Looking at Dictionary>>#collect: I am wondering why it don't return a
>> Dictionary.
>
> This is so since SqueakV1.sources. In SmalltalkV2.sources (ST80) it
> returned a Bag. Both the latter and your variant are damned *slow*.
>
>> So I give you the test and fix.
>
> Have you considered all the packages which perhaps depend on the
> current, speedy implementation?
>
> /Klaus
>
>> I didn't test the side effect.
>>
>> HTH
>> Math
>
>
>
More information about the Squeak-dev
mailing list
|