Hi,
When I look at the code of OrderedCollection>>removeAll from de Squeak-
Web image I see:
removeAll
"remove all elements quickly"
self become: OrderedCollection new
It seem to me that is not a fast way of removing all element of the
collection.
I would rather do:
removeAll
self setCollection: (Array new: self size)
I do not see the #removeAll method in other image and by looking at
the sender it seem that is aida who use it.
Mth
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki