<br><font size=2 face="sans-serif">If I understand things correctly, Traits (at least as implemented for Squeak) cannot include references to instance variables, and so the performance will largely be constrained by method send performance. &nbsp;Is this correct?</font>
<br>
<br><font size=2 face="sans-serif">If this is the case (that Traits relies heavily on send performance and therefore method lookups, etc.) I would be concerned about migrating any of Squeak's class library to a Traits based implementation. &nbsp;This may be incentive enough though to seriously consider upgrading the VM to use the 'stack frame based contexts converted to full objects as necessary', or any other techniques that improve send performance.</font>
<br>
<br><font size=2 face="sans-serif">On a slightly related note, using a 3.7 VM, I see around 4 million sends/sec on my 3 GHz Pentium 4 HT, but about 6 million sends/sec on my 1.2 GHz iBook G4. &nbsp;The bytcodes/sec performance is higher on the P4 than the iBook though. &nbsp;Can anyone explain this?</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -Dean</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>stéphane ducasse &lt;ducasse@iam.unibe.ch&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: squeak-dev-bounces@lists.squeakfoundation.org</font>
<p><font size=1 face="sans-serif">04/27/2005 10:25 AM</font>
<br><font size=1 face="sans-serif">Please respond to The general-purpose Squeak developers list</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;The general-purpose Squeak developers list &lt;squeak-dev@lists.squeakfoundation.org&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;Fwd: Fortress Language Specification</font></table>
<br>
<br>
<br><font size=2 face="Courier New"><br>
&gt; http://research.sun.com/projects/plrg/fortress0618.pdf<br>
<br>
Interesting...<br>
and worth to read (not only for traits).<br>
<br>
Stef<br>
<br>
<br>
</font>
<br>
<br>