Dictionary>>#collect: should return a dictionary

Klaus D. Witzel klaus.witzel at cobss.com
Wed Feb 14 21:17:39 UTC 2007


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