[Vm-dev] off-topic garbage

Bert Freudenberg bert at freudenbergs.de
Sun Dec 14 14:35:34 UTC 2014


> 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 -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4142 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20141214/aca5911a/smime.bin


More information about the Vm-dev mailing list