<div dir="ltr">Hi Bob,<div><br></div><div>    thanks for the heads up!  I&#39;ll take a look at this ASAP, but ephemerons in the Spur scavenger come first. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Sep 27, 2013 at 11:12 AM, Bob Arning <span dir="ltr">&lt;<a href="mailto:arning315@comcast.net" target="_blank">arning315@comcast.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Following up Herbert&#39;s question, I wrote:<br>
    <br>
    compareTiming: a to: b<br>
    &quot;<br>
    ---interpreter vm (5.7.4.1) ---------<br>
    Float compareTiming: 1 to: 1.0 ==&gt; 719<br>
    Float compareTiming: 1.0 to: 1.0 ==&gt; 991<br>
    Float compareTiming: 1 to: 1 ==&gt; 312<br>
    Float compareTiming: 1.0 to: 1 ==&gt; 686<br>
    ---cog vm (2749)---------<br>
    <b>Float compareTiming: 1 to: 1.0  ==&gt; 28162</b><br>
    Float compareTiming: 1.0 to: 1.0  ==&gt; 148<br>
    Float compareTiming: 1 to: 1  ==&gt; 97<br>
    Float compareTiming: 1.0 to: 1  ==&gt; 179<br>
    &quot;<br>
        <br>
    ^[1000000 timesRepeat: [ <br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
    ]] timeToRun<br>
    <br>
    So, some obvious questions:<br>
    - in the interpreter vm, why is comparing two floats slower that an
    integer and a float?<br>
    - what&#39;s up with Cog? Three tests are faster by the expected ratio
    and one took a real dive.<br>
    <br>
    Also, the profiler Herbert used could use some attention to the
    NewFloat printing:<br>
    <br>
    99.9 (898,069)  Multiline1  doOneStep:<br>
       <b>77.30000000000001</b> (694,902)  Multiline1 [HkTestLine] 
    doTests:<br>
          73.8 (663,438)  HkRunin [HkTestStation]  canStartNextTest:<br>
    <br>
    Cheers,<br>
    Bob<br>
    <br>
  </div>

<br><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div>