On Tue, Mar 9, 2010 at 11:29, grauzone <none@example.net> wrote:
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.

It'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.

enableStomping?
recycle?

Anyway IANANES (I'm not a native English speaker), so I'll let Steven decide.


   Philippe