Re: Fix silly typo in new builtin grep

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Monday, May 15, 2006 - 6:07 pm

On Mon, 15 May 2006, Linus Torvalds wrote:

Side note: it looks like the version generation really isn't much of a 
cost. Grepping in v2.6.13 isn't really noticeably slower than the 
"pre-external grep" was for grepping in the checked-out file tree.

So it looks like we _could_ improve the grepping of specific versions 
noticeably if we were to have a better regex library that was as optimized 
as what the external GNU grep seems to do. The actual revision data 
generation doesn't seem to be the biggest cost, and at least in _theory_ 
we could probably speed things up by a factor of two with a faster regex 
library.

That's good to keep in mind. It may be that the glibc regexp is just not 
very good, but quite frankly, I would personally not be surprised if it's 
better than most (ie windows, for example).

			Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Fix silly typo in new builtin grep, Linus Torvalds, (Mon May 15, 5:54 pm)
Re: Fix silly typo in new builtin grep, Linus Torvalds, (Mon May 15, 6:07 pm)
Re: Fix silly typo in new builtin grep, Morten Welinder, (Mon May 15, 7:10 pm)
Re: Fix silly typo in new builtin grep, Junio C Hamano, (Mon May 15, 8:18 pm)
Re: Fix silly typo in new builtin grep, Linus Torvalds, (Mon May 15, 8:27 pm)
Re: Fix silly typo in new builtin grep, Linus Torvalds, (Mon May 15, 8:32 pm)