From: Lars Knoll Date: Sun, 28 Oct 2007 20:27:13 +0000 (+0100) Subject: Speedup scanning for excluded files. X-Git-Tag: v1.5.4-rc0~307 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/68492fc73b7387fa72d09545f5743728c5fdb419?hp=68492fc73b7387fa72d09545f5743728c5fdb419 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 ---