[squeak-dev] The Trunk: Kernel-ul.327.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Dec 14 18:45:17 UTC 2009


Levente Uzonyi uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ul.327.mcz

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

Name: Kernel-ul.327
Author: ul
Time: 14 December 2009, 6:17:10 am
UUID: d87966ba-a11b-4d45-817f-5bdd4447476f
Ancestors: Kernel-ar.326

- MethodDictionary >> #at:put: doesn't use #fullCheck anymore

=============== Diff against Kernel-ar.326 ===============

Item was changed:
  ----- Method: MethodDictionary>>at:put: (in category 'accessing') -----
  at: key put: value
  	"Set the value at key to be value."
  	
  	| index |
  	index := self scanFor: key.
  	(self basicAt: index)
  		ifNil: [
+ 			self basicAt: index put: key.
+ 			self atNewIndex: index put: value ]
+ 		ifNotNil: [ 
+ 			(array at: index) flushCache.
+ 			array at: index put: value ].
- 			tally := tally + 1.
- 			self basicAt: index put: key ]
- 		ifNotNil: [ (array at: index) flushCache ].
- 	array at: index put: value.
- 	self fullCheck.
  	^value!




More information about the Squeak-dev mailing list