Re: git diff looping?
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- Jun 16, 2009, 17:35 UTC
- Message-ID
- <RFQLUdKWnVWgwwX0qsqUhC-pl9v39aFOKMpTbbABiCEXczTo26fVow@cipher.nrlssc.navy.mil>
- In-Reply-To
- <20090616171531.GA17538@coredump.intra.peff.net>
Jeff King wrote:
Show 10 quoted lines
> On Tue, Jun 16, 2009 at 09:51:24AM -0700, Junio C Hamano wrote: > >>> I can reproduce the problem on Solaris 8 using git v1.6.3. It seems to >>> be caused by a horribly slow system regex implementation; it really >>> chokes on the regex we use to find the "funcname" line for java files. >> Hmm. Is running under LC_ALL=C LANG=C _with_ the slow system regex help? > > No, it remains extremely slow (it is possible that it _is_ faster, > though, but I never managed to run either case to completion; they are > both clearly orders of magnitude off of acceptable).
I haven't tried setting LC_ALL, LANG, but this Solaris regex is MANY orders of magnitude slower. I've been running your example diff on the egit repository for 2 hours and it still hasn't finished. The compat/regex version finished in 3 seconds. Solaris 10 x86.
-brandon