<br><br><div class="gmail_quote">On Tue, Dec 22, 2009 at 2:17 PM, Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com" target="_blank">renggli@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>&gt; 1) which is the difference between ImageSegment and SmartRefStream ? what<br>
&gt; does each of them do ?<br>
<br>
</div>ImageSegment depends on SmartRefStream. SmartRefStream is independent<br>
of ImageSegment and can also be used alone.<br>
<div><br></div></blockquote><div><br>ok...<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
&gt; 2) Who uses who ? ImageSegment uses SmartRefStream or vice-versa?  each one<br>
&gt; use the other?<br>
<br>
</div>ImageSegment uses SmartRefStream to serialize itself. </blockquote><div><br>ok, can I ask where in the code is that?   Maybe when ImageSegment uses the method fileOutClass: nil andObject:   (in ImageSegment &gt;&gt; writeForExportOn:)  ?<br>
<br>But this is only used when you want to export an ImageSegment to another image. If you want to swap out an ImageSegment and then load it again, I think it doesn&#39;t use SmartRefStream because it just write to file the wordarray. (ImageSegment &gt;&gt; writeToFile) <br>
 <br>I am correct ?<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
That includes<br>
its internal state (the image segment object), the ByteArray that the<br>
VM primitive produces, as well as incoming and outgoing references<br>
(for example classes and symbols).<br>
<div><br>
&gt; 3) Which is the difference between ReferenceStream and SmartRefStream ?<br>
<br>
</div>SmartRefStream can handle class shape changes. ReferenceStream not.<br>
<br></blockquote><div><br>Ok, thanks :)<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Lukas<br>
<font color="#888888"><br>
--<br>
Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">http://www.lukas-renggli.ch</a><br>
<br>
</font></blockquote></div><br>