Re: [PATCH v2 1/2] string-list: use ALLOC_GROW macro when reallocing string_list

2017-04-05 Thread Jonathan Nieder
g...@jeffhostetler.com wrote: > During status on a very large repo and there are many changes, > a significant percentage of the total run time was spent nit: s/was/is/ (see comments on v1) > reallocing the wt_status.changes array. [...] > Signed-off-by: Jeff Hostetler > --- > string-list.c |

[PATCH v2 1/2] string-list: use ALLOC_GROW macro when reallocing string_list

2017-04-05 Thread git
From: Jeff Hostetler Use ALLOC_GROW() macro when reallocing a string_list array rather than simply increasing it by 32. This is a performance optimization. During status on a very large repo and there are many changes, a significant percentage of the total run time was spent reallocing the wt_s