[Vm-dev] off-topic garbage

Ben Coman btc at openInWorld.com
Sun Dec 14 16:16:38 UTC 2014


Bert Freudenberg wrote:
>  
> 
> 
> ------------------------------------------------------------------------
> 
> 
>> On 14.12.2014, at 14:54, Ben Coman <btc at openInWorld.com> wrote:
>>
>> So then what about letting the menu handler return before snapshotting.
>>
>>> [] in BlockClosure>>newProcess
>>> [] in MorphicProject>>spawnNewProcess
>>> PasteUpMorph>>doOneCycle
>> e.g. Call #snapshot:andQuit:withExitCode:embedded: from here after stack has unwound, something conceptually like this...
>>
>>
>>    PasteUpMorph>>doOneCycle
>>      [ WorldState doOneCycleFor: self ]
>>           on: SnapshotAndQuit do: [ :ssaq | ssaq execute ].
> 
> Did you try? Does it make the saved image significantly smaller?
> 
> I wouldn't like to complicate things for for what looks like less than 0.5% saving.
> 
> - Bert -
> 
> 
> 


I didn't try.  It was conceptual - just enough for feedback on how such 
a thing would be viewed.
cheers -ben



More information about the Vm-dev mailing list