<br>
<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">One thing I notice about the InstanceEncoder is that it doesn't cache<br>the objects after decoding them.&nbsp;&nbsp;This could be done in a literal
<br>inside the method - something like this:<br><br>myObject<br> |cache|<br> cache := #(nil).<br> ^ cache first ifNil: [cache at: 1 put: '..............' reconsituteObject]</blockquote><div><br>
Okay, so I think I've forgotten how temps work. Why doesn't cache just get garbage collected after each call to #myObject?<br>
<br>
John&nbsp;</div><br></div>-- <br>It's easy to have a complicated idea. It's very very hard to have a simple idea. -- Carver Mead