<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Benito van der Zander <<a href="mailto:benito@benibela.de">benito@benibela.de</a>> schrieb am So., 7. Apr. 2019, 15:34:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .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 .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 dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div></div>