[PATCH v5] string-list: use ALLOC_GROW macro when reallocing

2017-04-14 Thread git
From: Jeff Hostetler Version 5 addresses coding style comments from the mailing list in the perf test and squashes the changes into 1 commit. Jeff Hostetler (1): string-list: use ALLOC_GROW macro when reallocing string_list string-list.c | 5 +

[PATCH v5] string-list: use ALLOC_GROW macro when reallocing string_list

2017-04-14 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 is