<br><br><div class="gmail_quote">On Mon, May 2, 2011 at 6:11 PM, Eliot Miranda <span dir="ltr"><<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>></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'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 <<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>> wrote:<br>
<br>
><br>
> On 2 May 2011 15:46, Igor Stasenko <<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>> wrote:<br>
>> Btw,<br>
>><br>
>> i don't like this code:<br>
>><br>
>> self assertClassOf: floatOrInt<br>
>> is: (objectMemory splObj: ClassFloat)<br>
>> compactClassIndex: ClassFloatCompactIndex.<br>
>><br>
><br>
> btw, Cog is suspectible to have bugs if during run time you will<br>
> change a class to be no longer compact or<br>
> (and then installing a different class to be compact on same compact<br>
> classes array index as before).<br>
><br>
> To avoid that, there should be a primitive which should refresh<br>
> compact indices for most used classes,<br>
> to avoid bugs.<br>
><br>
> (The StackInterpreter>>checkAssumedCompactClasses should be run each<br>
> time when some class become (un)compact).<br>
><br>
> --<br>
> Best regards,<br>
> 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>