<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div>I plan to fix 1 soon (as discussed in your bug report).<br><br>I forgot about 2, but the runtime function that deletes an array should remove it from the cache. (this is an easy fix).<br><br>To get you running, this would be the contents of the requested function (must put the function in rt/lifetime.d):<br><br>__blkcache[] = BlkInfo.init;<br><br>-Steve<br></div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><b><span style="font-weight: bold;">From:</span></b> David Simcha <dsimcha@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> Discuss the phobos
 library for D <phobos@puremagic.com><br><b><span style="font-weight: bold;">Sent:</span></b> Thu, November 18, 2010 4:15:50 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [phobos] Clear appending cache?<br></font><br><meta http-equiv="x-dns-prefetch-control" content="off">Can someone who knows better than me how it works (probably Steve) please put a function in druntime to clear the current thread's array appending cache?  I need this for two reasons:<br><br>1.  To make sure arrays I'm done with get GC'd.<br>
<br>2.  To make it safe(r) to free arrays manually.<br>
<meta http-equiv="x-dns-prefetch-control" content="on"></div></div></blockquote>
</div><br>

      </body></html>