<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>look at @<br>the point creation method is sped up using an optional primitive call.
<br><br>@ y<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Primitive. Answer a Point whose x value is the receiver and whose y<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;value is the argument. Optional. No Lookup. See Object documentation<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;whatIsAPrimitive.&quot;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;primitive: 18&gt;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^Point x: self y: y</blockquote><div><br>(a) Time millisecondsToRun:[50000 timesRepeat: [1@1]]&nbsp; -&gt;&nbsp; 12 <br></div><br>then I commentet the primitive call to see the diffirence in Number&gt;&gt;@<br>and I saw no difference...
<br>so I put a self halt in @<br><br>and the method isn't stopped when I redo (a).<br><br>but if I do that in a worspace:<br><br>|a|<br>a := 1. self halt.<br>Time millisecondsToRun:[50000 timesRepeat: [1@(a+1)]].<br><br>It stops and then the halt in #@ works ok ...
<br><br>any idea of what I did wrong ?<br><br>Thanks<br>Cédrick<br></div><br>