The Trunk: Kernel-nice.277.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-nice.277.mcz

commits-2
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!