pack-objects: more threaded load balancing fix with often changed paths
authorNicolas Pitre <nico@cam.org>
Mon, 10 Dec 2007 19:19:32 +0000 (14:19 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Dec 2007 01:10:16 +0000 (17:10 -0800)
commiteb9688ff65a3f7fb28ee6488be728fc72e42d5d6
tree24f1b69a8857fb366053b657f1fa7a0c6ecd0da0
parentc07c7bf630efd8ddcd41490036c1eefb01a39f98
pack-objects: more threaded load balancing fix with often changed paths

The code that splits the object list amongst work threads tries to do so
on "path" boundaries not to prevent good delta matches.  However, in
some cases, a few paths may largely dominate the hash distribution and
it is not possible to have good load balancing without ignoring those
boundaries.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c