Shrink the "allocated" length of an array to be the exact size of the array. It doesn't matter what the current allocated length of the array is, the user is telling the runtime that he knows what he is doing.
extern(C) void _d_arrayshrinkfit (
Walter Bright, Sean Kelly, Steven Schveighoffer
Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)