<br><br><div class="gmail_quote">On Tue, Mar 9, 2010 at 11:29, grauzone <span dir="ltr">&lt;<a href="mailto:none@example.net">none@example.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div>Many of these names (including shrinkToFit) suggest that memory usage is reduced by freeing the left over memory after the array. This is not true: the function just enables stomping of the memory past the slice passed to the function.<br>
</div>
<br>
It&#39;s a very specialized and dangerous function (but still may be critical for good performance), and maybe it should rather have a more convoluted/long name than a simple one.<br>
</blockquote></div><br>enableStomping?<br>recycle?<br><br>Anyway IANANES (I&#39;m not a native English speaker), so I&#39;ll let Steven decide.<br><br><br>   Philippe<br> <br><br><br>