I believe the issue is that Solaris implements 'extended' regular
expressions only in regcomp/regexec. The implementation of
regcmp/regex seems to be from SysV and supports only 'basic' regular
expressions.
On Tue, Jun 16, 2009 at 10:35 AM, Brandon Casey[off-list ref] wrote:
Jeff King wrote:
quoted
On Tue, Jun 16, 2009 at 09:51:24AM -0700, Junio C Hamano wrote:
quoted
quoted
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