Idea for a possibly better Collection occurrencesOf method.

Klaus D. Witzel klaus.witzel at cobss.com
Wed Sep 13 19:36:36 UTC 2006


Hi danil,

on Wed, 13 Sep 2006 20:55:39 +0200, you wrote:

> But I wonder, if VAST problems with seaside are related to something  
> like that ;)

That would be crazy, wouldn't it  '<

/Klaus

> Danil
>>
>> :) Nice question, important as well.
>>
>>> I guess the state
>>> (iteration index) is stored in the C stack and cannot be captured by
>>> looking at thisContext, right?
>>
>> No, nothing can be stored in the C stack. Say we have ... apply:  
>> seqColl from: here to: there, then at each iteration the VM does here  
>> := here + 1 (that's a privilege of the VM). Later when #commonReturn  
>> comes back, the situation is precisely as it was at the time of the  
>> first call, expect that argument 'here' reflects the progress. And  
>> kangaroo and debugger and friends are not affected.
>>
>> It is because of the latter that I'd say that that works in harmony  
>> with continuations.
>>
>> /Klaus
>>
>>>
>>> Lukas
>>>
>>
>>
>>
>
>
>





More information about the Squeak-dev mailing list