<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 03/02/2016 12:48 AM, vfclists . wrote:<br>
    <blockquote
cite="mid:CAE3mkNBK+xTia_YAOv8fFW0q_57jGBVQQXJB=a_Vt8RvnOp2aQ@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On 14 February 2016 at 10:06, Serguei
            TARASSOV <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:serge@arbinada.com" target="_blank">serge@arbinada.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
              <br>
              thank all for assistance!<br>
              <br>
              Sorry, I was not clear, the series should be ran with all
              tests _on the same computer_ regardless its hardware
              capacity and on the _same OS_. That's why I cannot compare
              with Delphi.<br>
              <br>
              So if you have modern Delphi, FPC and maybe .NET on your
              Windows computer please compare them with about 5-10 runs
              to get average time.<br>
              <br>
              Thank you for the Inc() hint, I added it to the comments,
              it gains about 10% for me.<br>
              However, in Delphi Inc() is faster until you turn on the
              checking overflow.<br>
              <br>
              Another strange effect in FPC.<br>
              Only longint shows correct result. With the integer type
              the optimizer seems to replace type with shortint
              (16-bits) and I see 31902 instead of 4816030.
              <div class="HOEnZb">
                <div class="h5"><br>
                  <br>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>Is there a reason for this, or is it a bug? <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    The Integer type depends on what compiler mode you are in, and what
    operating system. Sometimes it's 32bit and other times it's 16bit.<br>
  </body>
</html>