On Thu, Nov 22, 2018 at 03:10:21PM +0100, Alexandre Julliard wrote:
Huw Davies huw@codeweavers.com writes:
I was hoping for a common allocation function (resize_storage() say), that would take the length of the required array, not one function to grow and another to shrink.
Also, let's insist that LB_ARRAY_GRANULARITY is a power of two, to simplify these adjustments.
Note that doubling the size when growing would be better than a fixed constant (but maybe we want to avoid changing even more things at this point...)
Yeah, I was hoping to walk before we run.
Huw.