author | Nicolas Pitre <nico@cam.org> | |
Tue, 21 Jun 2005 14:18:00 +0000 (10:18 -0400) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Tue, 21 Jun 2005 15:58:56 +0000 (08:58 -0700) | ||
commit | 83ba99bc8c2cdbaa9a0b4ec286e72c3ecb31bf8a | |
tree | a00acb22adf81b500cb07b3cc2494a39c7c42670 | tree | snapshot |
parent | 69f956e10484f92f9e0ab191b668c79d697b9f0f | commit | diff |
[PATCH] fix scalability problems with git-deltafy-script
Current version would spin forever and exhaust memory while attempting
to sort all files from all revisions at once, until it dies before even
doing any real work. This is especially noticeable when used on a big
repository like the imported bkcvs repo for the Linux kernel.
This patch allows for batching the sort to put a bound on needed
resources and making progress early, as well as including some small
cleanups.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Current version would spin forever and exhaust memory while attempting
to sort all files from all revisions at once, until it dies before even
doing any real work. This is especially noticeable when used on a big
repository like the imported bkcvs repo for the Linux kernel.
This patch allows for batching the sort to put a bound on needed
resources and making progress early, as well as including some small
cleanups.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
git-deltafy-script | diff | blob | history |