|
Re: [BUG]Collection>>removeAll:: msg#01324lang.smalltalk.squeak.general
On Thu, 29 Aug 2002 13:58:11 +1200 (NZST), "Richard A. O'Keefe" <ok@xxxxxxxxxxxxxx> wrote: > So the "don't change it" brigade may be fighting to preserve a bug > which was introduced comparatively recently. I have an image on my machine dated September 1996, and it says "Squeak 1.1 of September 21, 1996". The version of removeIndex: looks like (for some reason, the sources file isn't hooked up); removeIndex: t1 | t2 | t2 _ t1. [t2 < lastIndex] whileTrue: [array at: t2 put: (array at: t2 + 1). t2 _ t2 + 1]. array at: lastIndex put: nil. lastIndex _ lastIndex - 1. ^ self Later, Jon -------------------------------------------------------------- Jon Hylands Jon@xxxxxxx http://www.huv.com/jon Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: GC behavior?, Stephen Pair |
|---|---|
| Next by Date: | Info about Morph, subroto mukherjee |
| Previous by Thread: | Re: [BUG]Collection>>removeAll:, Richard A. O'Keefe |
| Next by Thread: | Place for efficiency improvement [was: Re: [BUG]Collection>>removeAll:], Stephan Rudlof |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |