Re: [PATCH v2 0/6] Exclude optimizations

2013-03-11 Thread Duy Nguyen
The hunt continues.. (and thanks everyone for suggestions). Now is_excluded() (and exclude machinery) is no longer the hot spot in read_directory. index_name_exists is the new star: function time (in seconds) treat_leading_path: 0.000 read_directory: 0.289

[PATCH v2 0/6] Exclude optimizations

2013-03-09 Thread Nguyễn Thái Ngọc Duy
v2 includes strncmp_equal and directory level pattern filter. user time of git ls-files --exclude-standard -o on webkit.git below. Looking pretty good. before after user0m0.607s0m0.365s user0m0.613s0m0.366s user0m0.613s0m0.374s user0m0.621s0m0.374s