<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 09.01.2018 08:04, Sven Barth via fpc-pascal wrote:<br>
    <blockquote type="cite"
cite="mid:CAFMUeB9ExyvD_Aontr0zM8xs5M1oFocvumacu9uNcKMvymsOGg@mail.gmail.com">
      <div dir="auto">
        <div>
          <div class="gmail_extra">
            <div dir="auto">But you need to program in a way that allows
              the usage of multiple, different types. That can more
              often than not lead to worse performance. <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    Seemingly it is done that way. <br>
    <br>
    I rather often did a kind of "Generics" in ANSI C by using Macros.
    It's catastrophic for code writing and for debugging but does not
    impose any performance issues. <br>
    <br>
    I suppose there is a reason why in Pascal Generics are not
    translated in multiple dedicatedly typed code snippets at compile
    time. <br>
    <br>
    -Michael<br>
  </body>
</html>