<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body smarttemplateinserted="true" text="#000000" bgcolor="#FFFFFF">
    <div id="smartTemplate4-template">Hi,<br>
      <blockquote type="cite">
        <div dir="auto">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0&#xA;
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Or
              perhaps it is better to use gvector rather than
              TInterfaceList?<br>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">If you only store a specific interface type then
          using one of the generic containers specialized to that type
          would indeed be best. </div>
        <div dir="auto"><br>
        </div>
      </blockquote>
      <br>
      <p> and on a closer look TInterfaceList does a lot of locking.<br>
      </p>
      guess TInterfaceList should be avoided, unless you actually need
      something thread-safe. The classes unit is full of weird stuff<br>
      <br>
      Best,<br>
      Benito </div>
    <br>
    <div class="moz-cite-prefix">Am 07.04.19 um 20:24 schrieb Sven Barth
      via fpc-pascal:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFMUeB82ncP5SBSPuj1wAoZmFZogGG9inbcNMj0WswR6xkUrDw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">Benito van der Zander <<a
                href="mailto:benito@benibela.de" moz-do-not-send="true">benito@benibela.de</a>>
              schrieb am So., 7. Apr. 2019, 15:34:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0&#xA;
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Writing
              (list.get(0) as ISomeInterface), is very slow and not
              possible, <br>
              when the interface has no GUID.<br>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">This is indeed what is supposed to be used with
          TInterfaceList. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0&#xA;
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Or
              perhaps it is better to use gvector rather than
              TInterfaceList?<br>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">If you only store a specific interface type then
          using one of the generic containers specialized to that type
          would indeed be best. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Regards, </div>
        <div dir="auto">Sven </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-pascal maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<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></pre>
    </blockquote>
  </body>
</html>