June 29, 2009
7:54 p.m.
-> #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