<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body smarttemplateinserted="true" bgcolor="#FFFFFF" text="#000000">
    <div id="smartTemplate4-template">Hi,<br>
      <br>
      <p>with a function call:
        <a class="moz-txt-link-freetext" href="http://bugs.freepascal.org/view.php?id=30333">http://bugs.freepascal.org/view.php?id=30333</a><br>
      </p>
      <br>
      I had benchmark runs where it spend more time in the initializing
      function than doing any calculations<br>
      <br>
      Best,<br>
      Benito </div>
    <br>
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 03/04/2017 06:41 PM, Michael Van
      Canneyt wrote:<br>
    </div>
    <blockquote
      cite="mid:alpine.DEB.2.20.1703041841090.31656@home.telenet.be"
      type="cite">
      <br>
      <br>
      On Sat, 4 Mar 2017, <a class="moz-txt-link-abbreviated" href="mailto:noreply@z505.com">noreply@z505.com</a> wrote:
      <br>
      <br>
      <blockquote type="cite">On 2017-02-28 14:48, Jonas Maebe wrote:
        <br>
        <blockquote type="cite">On 28/02/17 21:40, <a class="moz-txt-link-abbreviated" href="mailto:noreply@z505.com">noreply@z505.com</a>
          wrote:
          <br>
          <blockquote type="cite">What happens with a stack allocated
            record?
            <br>
            (no new() required, nor dispose() so is the record ever
            <br>
            initialized/finalized?)
            <br>
          </blockquote>
          <br>
          Yes, just like records that contain e.g. an ansistring field.
          <br>
          <br>
          <br>
          Jonas
          <br>
        </blockquote>
        <br>
        <br>
        do records which contain ansistring fields have some special
        stack initialization system (sorry, I should really read the
        source code in this case - still interested in theory of how
        this works)
        <br>
      </blockquote>
      <br>
      Yes. They are initialized.
      <br>
      <br>
      Michael.
      <br>
      _______________________________________________
      <br>
      fpc-pascal maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
    </blockquote>
    <br>
  </body>
</html>