[squeak-dev] Re: Dictionary>>collect: returning OrderedCollection?

K. K. Subramaniam subbukk at gmail.com
Mon Jun 16 13:54:18 UTC 2008

On Saturday 14 Jun 2008 3:02:03 pm Bert Freudenberg wrote:
> Shouldn't "associationsCollect:" be equivalent to "associations  
> collect:"?

If both key and its value are being transformed by aBlock, yes. If only the 
values are being changed with the keys remaining same (e.g. translating 
english words to french) then we could avoid key lookups for every add.


More information about the Squeak-dev mailing list