Re: [PATCH v6 5/5] To enable optimize multiple pathspec items in revision traversal, return 0 if all pathspec item is literal in forbid_bloom_filters(). Add for loops to initialize and check each pathspec item's bloom_keyvec when optimization is possible.
Lidong Yan <yldhome2d2@gmail.com> writes:
Show 9 quoted lines
>
> Add new test cases in t/t4216-log-bloom.sh to ensure
> - consistent results between the optimization for multiple pathspec
> items using bloom filter and the case without bloom filter
> optimization.
> - does not use bloom filter if any pathspec item is not literal.
>
> With these optimizations, we get some improvements for multi-pathspec runs
> of 'git log'. First, in the Git repository we see these modest results:
Sorry, seems like I wrote bad commit message, I will resend patch 5/5 soon.