The Trunk: Kernel-ul.327.mcz

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

The Trunk: Kernel-ul.327.mcz

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