author | Lars Knoll <lars@trolltech.com> | |
Sun, 28 Oct 2007 20:27:13 +0000 (21:27 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 30 Oct 2007 00:03:11 +0000 (17:03 -0700) | ||
commit | 68492fc73b7387fa72d09545f5743728c5fdb419 | |
tree | 8c1ac604af1977d4373bed2c8b622126ccda27f7 | tree | snapshot |
parent | 79f3368d9a1bba022f38806b67c25ffffc0e7e92 | commit | diff |
Speedup scanning for excluded files.
Try to avoid a lot of work scanning for excluded files,
by caching some more information when setting up the exclusion
data structure.
Speeds up 'git runstatus' on a repository containing the Qt sources by 30% and
reduces the amount of instructions executed (as measured by valgrind) by a
factor of 2.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Try to avoid a lot of work scanning for excluded files,
by caching some more information when setting up the exclusion
data structure.
Speeds up 'git runstatus' on a repository containing the Qt sources by 30% and
reduces the amount of instructions executed (as measured by valgrind) by a
factor of 2.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c | diff | blob | history | |
dir.h | diff | blob | history |