About MappedCollection

nicolas cellier ncellier at ifrance.com
Thu May 24 19:48:54 UTC 2007


Damien Cassou a écrit :
> Hi,
> 
> does any of you use MappedCollection? Would it be a problem to remove
> it from the image?
> 
> Bye
> 

I used them once upon a time in st-80 ages. Never since.
I would not miss them.

They disappeared quite early from Parplace images (objectworks i think).

Using Smalltalk living organism metaphor, I think they are still here 
simply because they are not competing. Thus, they do not enter in the 
selection process. Unless we put selective rules on dead code like 
you're proposing.
How many % of our DNA is really used? You can answer this question at 
the scale of an individual life, or at the scale of hundreds of 
generations. Maybe they could make an advantage in a future mutation. 
They could as well disappear, or be frozen in a data bank. It's not easy 
to play god.

Are Stack and SkipList more used?

Even Bag is rarely used.
LinkedList (Process only).
Heap (WorldState, Zip).

Are there metrics to measure success of a class?
Number of references?
Number of senders of factory messages?
Number of instances in images?
Number of instances garbage collected?

Nicolas




More information about the Squeak-dev mailing list