The Trunk: Collections-cmm.305.mcz

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

The Trunk: Collections-cmm.305.mcz

commits-2
Chris Muller uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-cmm.305.mcz

==================== Summary ====================

Name: Collections-cmm.305
Author: cmm
Time: 12 February 2010, 11:02:16.61 am
UUID: 59300dfb-27b3-4eda-98d7-5ca6231f641c
Ancestors: Collections-ar.304

- Added Array class>>#empty and String class>>#empty to provide applications with canonicalized instances of these oft-used objects; since they are embedded as literals in the CompiledMethod.

=============== Diff against Collections-ar.304 ===============

Item was added:
+ ----- Method: Array class>>empty (in category 'instance creation') -----
+ empty
+ "A canonicalized empty Array instance."
+ ^ #()!

Item was added:
+ ----- Method: String class>>empty (in category 'instance creation') -----
+ empty
+ "A canonicalized empty String instance."
+ ^ ''!

Item was removed:
- ----- Method: String>>asDefaultDecodedString (in category 'converting') -----
- asDefaultDecodedString
-
- ^ self
- !