<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> "Primitive. Answer a Point whose x value is the receiver and whose y<br> value is the argument. Optional. No Lookup. See Object documentation<br> whatIsAPrimitive."<br><br> <primitive: 18>
<br> ^Point x: self y: y</blockquote><div><br>(a) Time millisecondsToRun:[50000 timesRepeat: [1@1]] -> 12 <br></div><br>then I commentet the primitive call to see the diffirence in Number>>@<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>