<br><br><div class="gmail_quote">On Wed, Nov 30, 2011 at 10:47 AM, Stefan Marr <span dir="ltr">&lt;<a href="mailto:squeak@stefan-marr.de">squeak@stefan-marr.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi:<br>
<div class="im"><br>
On 30 Nov 2011, at 10:19, Mariano Martinez Peck wrote:<br>
<br>
&gt; I would like to have one extra free bit in the object header. I can hack my own VM which uses 4 bits for CompactClasses rather than 5, but do you think we can do this for the official Cog VM as well? this would allow &quot;researched&quot; a much nice infrastructure out of the box.<br>

<br>
</div>If you really need more flexibility, consider adding a compile-time option to add an extra preheader to each object.<br>
We have that in the RoarVM.<br>
Of course, there is a performance impact. But in return you get what you have dreamed of in your wildest dreams... And it is easy to add just another word, or another one...<br>
<br></blockquote><div><br>That&#39; would be very nice to have :)<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
We had a bug recently, that required me to clean up the code, I could point you at the fix. That should give an indication where you would need to adapt the VM.<br>
And this approach should work at least for the classic interpreter. Not sure what that would entail for the stackVM, but for Cog you would probably need to adapt the code generation.<br>
<br>
Best regards<br>
<span class="HOEnZb"><font color="#888888">Stefan<br>
<br>
<br>
--<br>
Stefan Marr<br>
Software Languages Lab<br>
Vrije Universiteit Brussel<br>
Pleinlaan 2 / B-1050 Brussels / Belgium<br>
<a href="http://soft.vub.ac.be/%7Esmarr" target="_blank">http://soft.vub.ac.be/~smarr</a><br>
Phone: <a href="tel:%2B32%202%20629%202974" value="+3226292974">+32 2 629 2974</a><br>
Fax:   <a href="tel:%2B32%202%20629%203525" value="+3226293525">+32 2 629 3525</a><br>
<br>
</font></span></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>