Re: Fwd: git diff with “--word-diff-regex” extremely slow compared to “--word-diff”?

2016-11-22 Thread Matthieu S
when necessary, i.e. when"enter" is prompted in the console? Thanks! Matthieu 2016-11-20 12:17 GMT-08:00 Jeff King : > On Fri, Nov 18, 2016 at 03:40:22PM -0800, Matthieu S wrote: > >> Why is the speed so different if one uses --word-diff instead of >> --word-diff-re

Fwd: git diff with “--word-diff-regex” extremely slow compared to “--word-diff”?

2016-11-18 Thread Matthieu S
Hi When giving a custom regex to git diff --word-diff-regex= instead of using the default --word-diff (which splits words on whitespace), git slows down very considerably... I don't understand why such a speed difference? (this question was asked on stack overflow, but after two month without ans