[squeak-dev] The Trunk: Collections-ul.647.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Aug 22 20:49:08 UTC 2015


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



More information about the Squeak-dev mailing list