>> -> #add:  return the association that has been added except for
>> SmallDictionary for which #add: return the value of the association.
>
> I do not know. Does anybody know?

SmallDictionary is an optimized dictionary originally written for the
refactoring browser. I does not use associations internally and thus
it would probably lose some of its performance returning an
association.

Maybe this is also a left-over because that code was originally
written on a different Smalltalk and inheriting from Dictionary seems
to be a bit dangerous in such a case anyway.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to