[squeak-dev] The Trunk: Kernel-nice.277.mcz

radoslav hodnicak rh at 4096.sk
Fri Oct 30 15:55:22 UTC 2009


What's the motivation behind this change? I just traced this as the reason 
for my seaside image stopping serving its library files, since a method 
there gets a list of selectors and then tries to remove some of them 
(which doesn't work for an array).

rado


On Tue, 20 Oct 2009, commits at source.squeak.org wrote:

> Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
> http://source.squeak.org/trunk/Kernel-nice.277.mcz
>
> ==================== Summary ====================
>
> Name: Kernel-nice.277
> Author: nice
> Time: 20 October 2009, 11:28:51 am
> UUID: d887faef-c132-4cfc-98e2-259162e0cd01
> Ancestors: Kernel-nice.276
>
> remove #keys and let super return an Array rather than an IdentitySet
>
> =============== Diff against Kernel-nice.276 ===============
>
> Item was removed:
> - ----- Method: MethodDictionary>>keys (in category 'accessing') -----
> - keys
> - 	"Since method all method selectors are symbols it is more efficient
> - 	to use an IdentitySet rather than a Set."
> - 	| aSet |
> - 	aSet := IdentitySet new: self size.
> - 	self keysDo: [:key | aSet add: key].
> - 	^ aSet!
>
>



More information about the Squeak-dev mailing list