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

commits at source.squeak.org commits at source.squeak.org
Tue Oct 20 21:30:11 UTC 2009


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