author | barkalow@iabervon.org <barkalow@iabervon.org> | |
Tue, 2 Aug 2005 23:46:10 +0000 (19:46 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 3 Aug 2005 05:53:09 +0000 (22:53 -0700) | ||
commit | 1e8be59d14f36128e5eb12cc0457e676bb79690c | |
tree | 3fa313f2f2ce5e0958010d133e5434012d0033f2 | tree | snapshot |
parent | 66e481b007e843be54b9ff6a4be6e139c103a695 | commit | diff |
[PATCH] Parallelize the pull algorithm
This processes objects in two simultaneous passes. Each object will
first be given to prefetch(), as soon as it is possible to tell that
it will be needed, and then will be given to fetch(), when it is the
next object that needs to be parsed. Unless an implementation does
something with prefetch(), this should have no effect.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This processes objects in two simultaneous passes. Each object will
first be given to prefetch(), as soon as it is possible to tell that
it will be needed, and then will be given to fetch(), when it is the
next object that needs to be parsed. Unless an implementation does
something with prefetch(), this should have no effect.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-pull.c | diff | blob | history | |
local-pull.c | diff | blob | history | |
pull.c | diff | blob | history | |
pull.h | diff | blob | history | |
ssh-pull.c | diff | blob | history |