[squeak-dev] The Trunk: Collections-cmm.305.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Feb 12 17:02:41 UTC 2010


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




More information about the Squeak-dev mailing list