Re: [PATCH 0/3] Un-pessimize "diff-index $commit -- $pathspec"
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Aug 29, 2011, 21:56 UTC
- Message-ID
- <CA+55aFzk+hn9wMAp3H92SHAGO8CQVBpTsmR41FgCy32T7muUzA@mail.gmail.com>
- In-Reply-To
- <1314653603-7533-1-git-send-email-gitster@pobox.com>
On Mon, Aug 29, 2011 at 2:33 PM, Junio C Hamano <gitster@pobox.com> wrote:
> > Before and after applying this series, looking for changes in the kernel > repository with a fairly narrow pathspec gets a moderate speeds up.
"moderate speeds up"?
Looks like a big win to me. Admittedly it's already a pretty fast operation, but script it and repeat it a million times, and that will matter a lot more.
I guess the "--raw" diff part means that you are hiding the time to make a real diff, which would otherwise swamp everything else. Even so, this looks like a good improvement.
Linus