<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2016-08-02 11:43 GMT+02:00 leledumbo <span dir="ltr"><<a href="mailto:leledumbo_cool@yahoo.co.id" target="_blank">leledumbo_cool@yahoo.co.id</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div id="gmail-:5l6" class="gmail-a3s gmail-aXjCH gmail-m1564aa38397439c6">Just came across this on my fb timeline:<br>
<a href="https://pascal.today/2016/08/01/arc-for-non-managed-types/" rel="noreferrer" target="_blank">https://pascal.today/2016/08/01/arc-for-non-managed-types/</a><br>
would be interesting for gc lovers. WARNING: the given code there doesn't<br>
compile with FPC, even on trunk</div></blockquote></div><br>Nothing new. Proposed long time ago (2008!), many times:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://blog.barrkel.com/2008/11/somewhat-more-efficient-smart-pointers.html">http://blog.barrkel.com/2008/11/somewhat-more-efficient-smart-pointers.html</a></div><div class="gmail_extra"><a href="https://adugmembers.wordpress.com/2011/12/05/smart-pointers/">https://adugmembers.wordpress.com/2011/12/05/smart-pointers/</a></div><div class="gmail_extra"><a href="http://delphisorcery.blogspot.com/2015/01/smart-pointers-in-delphi.html">http://delphisorcery.blogspot.com/2015/01/smart-pointers-in-delphi.html</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">In FPC (branch for smart pointers) we have own much faster implementation (based on the default field):</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://github.com/maciej-izak/PascalSmartPointers">https://github.com/maciej-izak/PascalSmartPointers</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">which is usable also for nullable types.<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best regards,<br>Maciej Izak</div></div></div>
</div></div>