author | Nicolas Pitre <nico@cam.org> | |
Mon, 10 Sep 2007 04:06:09 +0000 (00:06 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 10 Sep 2007 05:25:33 +0000 (22:25 -0700) | ||
commit | c2a33679a726aeb75529540c2b295f21023ddbc7 | |
tree | 58c4b8b7dfb7eda500c81f4a682a2e116b7b1083 | tree | snapshot |
parent | 8ecce684a38f7cea084abe9eef80bda04d7c77be | commit | diff |
threaded delta search: refine work allocation
With this, each thread get repeatedly assigned the next available chunk of
objects to process until the whole list is done. The idea is to have
reasonably small chunks so that all CPUs remain busy with a minimum
number of threads for as long as there is data to process.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
With this, each thread get repeatedly assigned the next available chunk of
objects to process until the whole list is done. The idea is to have
reasonably small chunks so that all CPUs remain busy with a minimum
number of threads for as long as there is data to process.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c | diff | blob | history |