[PATCH] Dynamic growable arrays for internal use

Florian Weimer fweimer@redhat.com
Thu Jun 1 20:21:00 GMT 2017


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.

Thanks,
Florian



More information about the Libc-alpha mailing list