On Wed, 2008-06-04 at 14:41 +0200, Klaus D. Witzel wrote:
On Wed, 04 Jun 2008 12:12:59 +0200, Bert Freudenberg wrote:
On 04.06.2008, at 10:32, Klaus D. Witzel wrote:
On Wed, 04 Jun 2008 09:55:11 +0200, Norbert Hartl wrote:
The objects are still referenced in the collection you get
On Thu, Jun 5, 2008 at 8:02 AM, Norbert Hartl [EMAIL PROTECTED] wrote:
I don't care if it is called hair-splitting or something different. I
must agree with Bert. I found it interesting but misplaced on beginners.
What you were talking about had nothing to do with the Problem Rob was
asking
Rob Rothwell wrote:
Nonetheless, thanks to all your help, I understand things better now,
and can properly remove objects I currently have control over.
Because I was able to test things based on all your feedback, I have
narrowed my problem down to an Aida misunderstanding on my part.
For
On 04.06.2008, at 10:32, Klaus D. Witzel wrote:
On Wed, 04 Jun 2008 09:55:11 +0200, Norbert Hartl wrote:
The objects are still referenced in the collection you get
from self selected. The line with each := nil is useless
as each is only a temporary variable.
Not 100% useless, since
On Wed, Jun 4, 2008 at 6:12 AM, Bert Freudenberg [EMAIL PROTECTED]
wrote:
Yikes. Klaus, please keep the hair-splitting to squeak-dev if possible.
Assigning to a block parameter is just wrong. Setting temps to nil is
unnecessary in any normal method. If your code actually needs to worry about
On Wed, Jun 4, 2008 at 8:41 AM, Klaus D. Witzel [EMAIL PROTECTED]
wrote:
{'this ', 'and ', 'that'} collect: [:each | ].
Smalltalk garbageCollect.
{thisContext tempAt: 1} inspect
first line: create some object and make a temp var point to it.
second line: invoke GC.
third line: see what's
On Wed, Jun 4, 2008 at 9:41 AM, Klaus D. Witzel [EMAIL PROTECTED]
wrote:
What you want to see (according to your question about object removal) is
just the empty array; and what I wanted to point out (without hair-splitting
;) is, that when you GC+check this within the same method, it *must*
On 04.06.2008, at 15:20, Rob Rothwell wrote:
On Wed, Jun 4, 2008 at 8:41 AM, Klaus D. Witzel [EMAIL PROTECTED]
wrote:
{'this ', 'and ', 'that'} collect: [:each | ].
Smalltalk garbageCollect.
{thisContext tempAt: 1} inspect
first line: create some object and make a temp var point to it.