<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi all, hi Eliot,</p>
<p><br>
</p>
<p>new year, new simulation fun, and I have collected two new questions about the Context implementation which I'd love to get answered here:</p>
<p><br>
</p>
<p>First, I was confused by the following:</p>
<p></p>
<div>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
(BlockClosure >> #numArgs) primitive. "266"</div>
<div><span style="font-size: 12pt;">(Context >> #pc) primitive. "0"</span></div>
</div>
<div></div>
<div>What makes Context so special that it cannot be compiled with quick accessor methods?</div>
<div><br>
</div>
<div>Second, Context >> #<span>isPrimFailToken: attracted my attention multiple times when looking at different #timeProfile results of simulation sessions. In the expression [<span>100000 factorial] it takes up more than 44% of the whole execution time!</span></span></div>
<div><span><span>I have no idea why it could be so slow, but this message is sent really often, which is at least 2 times per simulation of a special message send.</span></span></div>
<div><span><span>Would there be an easy change to resolve this bottleneck and speed up the simulation by 40% or more?</span></span></div>
<div><span><span>Would it be possible to provide a primitive for this method? Or do you see any other way to optimize it?</span></span></div>
<div><span><span><br>
</span></span></div>
<div><span><span>Best,</span></span></div>
<div><span><span>Christoph</span></span></div>
<p></p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
</body>
</html>