<br><br><div class="gmail_quote">On Mon, May 2, 2011 at 6:11 PM, Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
No.  Instead certain compact incomes should be mandated.  It is absurd to throw away performance and expend effort supporting complexity for flexibility that is essentially never used and in maintaining a scheme that is only partially effective.<br>
</blockquote><div><br>+9999<br> <br>Compact classes didn&#39;t change in the last....how many years?<br>In fact, (and I have already sent an email with this) there are only 15 compact classes. This mean that we can even be using 4 bits instead of 5.<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Eliot (phone)<br>
<div><div></div><div class="h5"><br>
On May 2, 2011, at 7:20 AM, Igor Stasenko &lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt; wrote:<br>
<br>
&gt;<br>
&gt; On 2 May 2011 15:46, Igor Stasenko &lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Btw,<br>
&gt;&gt;<br>
&gt;&gt; i don&#39;t like this code:<br>
&gt;&gt;<br>
&gt;&gt;        self assertClassOf: floatOrInt<br>
&gt;&gt;                is: (objectMemory splObj: ClassFloat)<br>
&gt;&gt;                compactClassIndex: ClassFloatCompactIndex.<br>
&gt;&gt;<br>
&gt;<br>
&gt; btw, Cog is suspectible to have bugs if during run time you will<br>
&gt; change a class to be no longer compact or<br>
&gt; (and then installing a different class to be compact on same compact<br>
&gt; classes array index as before).<br>
&gt;<br>
&gt; To avoid that, there should be a primitive which should refresh<br>
&gt; compact indices for most used classes,<br>
&gt; to avoid bugs.<br>
&gt;<br>
&gt; (The StackInterpreter&gt;&gt;checkAssumedCompactClasses should be run each<br>
&gt; time when some class become (un)compact).<br>
&gt;<br>
&gt; --<br>
&gt; Best regards,<br>
&gt; Igor Stasenko AKA sig.<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>