<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>Am 12.07.2005 um 20:46 schrieb &lt;<A href="mailto:mpf2708@chello.se">mpf2708@chello.se</A>&gt;:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Are the binary snapshots implemented using image segments? Isn't it true<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">that image segments can be only loaded to the image they were saved from?<SPAN class="Apple-converted-space"> </SPAN></DIV> <BR></BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Image segments are the basis of published projects in Squeak and can be</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">loaded into other images,</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>However, MC does not use image segments or that, but just a data stream, which is the simplest of the binary serialization methods.</DIV><BR><BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Do things like class side #initialize still fire on binary load?</DIV></BLOCKQUOTE></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>yes.</DIV><BR><BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Is there a way to disable saving binary snapshots while saving package?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I suspect they have no benefit for me and the more than doubled file size<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">annoys me.</DIV></BLOCKQUOTE></BLOCKQUOTE></DIV><DIV><FONT class="Apple-style-span" color="#006312"><BR class="khtml-block-placeholder"></FONT></DIV><DIV>You could comment that out. However, loading will be much slower as the source code (source.st) will be parsed into an MCSnapshot instance. The binary snapshot contains this MCSnapshot instance, nothing more.</DIV><BR><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="4" style="font: 13.0px Helvetica">- Bert -</FONT></P>  </DIV><BR></BODY></HTML>