Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.273.mcz==================== Summary ====================
Name: Kernel-nice.273
Author: nice
Time: 19 October 2009, 9:18:29 am
UUID: 61ab2bcb-21a7-7145-ba01-19ce66e0ad5f
Ancestors: Kernel-nice.272
remove uncessary sends of #values
because (aDictionary values do:) is same as (aDictionary do:)
except when self modified in the do loop.
=============== Diff against Kernel-nice.272 ===============
Item was changed:
----- Method: ClassDescription>>linesOfCode (in category 'private') -----
linesOfCode
"An approximate measure of lines of code.
Includes comments, but excludes blank lines."
| lines |
+ lines := self methodDict inject: 0 into: [:sum :each | sum + each linesOfCode].
- lines := self methodDict values inject: 0 into: [:sum :each | sum + each linesOfCode].
self isMeta
ifTrue: [^ lines]
ifFalse: [^ lines + self class linesOfCode]!