--- a/Set.st Tue Jun 28 00:33:07 2016 +0200
+++ b/Set.st Tue Jun 28 00:33:19 2016 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1991 by Claus Gittinger
All Rights Reserved
@@ -200,6 +202,7 @@
"Created: / 24.10.1997 / 23:13:44 / cg"
! !
+
!Set methodsFor:'Compatibility-ST80'!
initialIndexFor:hashKey boundedBy:length
@@ -923,7 +926,9 @@
keyArray basicAt:delIndex put:nil.
^ delIndex
].
- ^ self grow findKeyOrNil:key
+ self grow.
+ length := keyArray basicSize.
+ startIndex := index := self initialIndexForKey:key.
].
] loop.
@@ -1238,6 +1243,7 @@
^ tally
! !
+
!Set methodsFor:'searching'!
findFirst:aBlock ifNone:exceptionValue