The Trunk: Collections-ul.647.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-ul.647.mcz

commits-2
Levente Uzonyi uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ul.647.mcz

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

Name: Collections-ul.647
Author: ul
Time: 22 August 2015, 10:44:11.184 pm
UUID: 8f7a52eb-415a-4aaf-9b8a-26ff5d388a10
Ancestors: Collections-ul.646

- in Spur we can speed up Character >> #sameAs: by using #==

=============== Diff against Collections-ul.646 ===============

Item was changed:
  ----- Method: Character>>sameAs: (in category 'comparing') -----
  sameAs: aCharacter
  "Answer whether the receiver is equal to aCharacter, ignoring case"
+
+ self == aCharacter ifTrue: [ ^true ].
+ ^self asLowercase == aCharacter asLowercase!
- ^ (self asLowercase = aCharacter asLowercase) !