All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] string-list: use ALLOC_GROW macro when reallocing
@ 2017-04-05 21:09 git
  2017-04-05 21:09 ` [PATCH v2 1/2] string-list: use ALLOC_GROW macro when reallocing string_list git
  2017-04-05 21:09 ` [PATCH v2 2/2] p0005-status: time status on very large repo git
  0 siblings, 2 replies; 4+ messages in thread
From: git @ 2017-04-05 21:09 UTC (permalink / raw)
  To: git; +Cc: gitster, peff, Jeff Hostetler

From: Jeff Hostetler <jeffhost@microsoft.com>

Use ALLOC_GROW() macro when reallocating a string_list array
rather than simply increasing it by 32.  This helps performance
of status on very large repos on Windows.

Jeff Hostetler (2):
  string-list: use ALLOC_GROW macro when reallocing string_list
  p0005-status: time status on very large repo

 string-list.c          |  5 +---
 t/perf/p0005-status.sh | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+), 4 deletions(-)
 create mode 100644 t/perf/p0005-status.sh

-- 
2.9.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-05 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05 21:09 [PATCH v2 0/2] string-list: use ALLOC_GROW macro when reallocing git
2017-04-05 21:09 ` [PATCH v2 1/2] string-list: use ALLOC_GROW macro when reallocing string_list git
2017-04-05 21:35   ` Jonathan Nieder
2017-04-05 21:09 ` [PATCH v2 2/2] p0005-status: time status on very large repo git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.