[PATCH] Dynamic growable arrays for internal use

Adhemerval Zanella adhemerval.zanella@linaro.org
Thu Jun 1 21:13:00 GMT 2017



On 01/06/2017 17:20, Florian Weimer wrote:
> On 06/01/2017 07:09 PM, Jeff Law wrote:
>> FWIW, we use a 1.5 growth factor for similar situations within GCC.
> 
> Once we have a set of internal users, I plan to add an stap probe which
> logs the final sizes (and the element type etc.), and then we can
> revisit the growth policy.  My hope is that very few dynarrays will ever
> hit the heap, but we'll see.

Btw I am planning to use on my glob patches I am working on.



More information about the Libc-alpha mailing list