]> git.ipfire.org Git - thirdparty/git.git/commit - local-fetch.c
[PATCH] Parallelize the pull algorithm
authorbarkalow@iabervon.org <barkalow@iabervon.org>
Tue, 2 Aug 2005 23:46:10 +0000 (19:46 -0400)
committerJunio C Hamano <junkio@cox.net>
Wed, 3 Aug 2005 05:53:09 +0000 (22:53 -0700)
commit1e8be59d14f36128e5eb12cc0457e676bb79690c
tree3fa313f2f2ce5e0958010d133e5434012d0033f2
parent66e481b007e843be54b9ff6a4be6e139c103a695
[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>
http-pull.c
local-pull.c
pull.c
pull.h
ssh-pull.c