[patch] syntax:plain for .hgignore

Jonathan S. Shapiro shap at eros-os.com
Mon Sep 10 16:39:15 CDT 2007


On Mon, 2007-09-10 at 23:34 +0200, Guido Ostkamp wrote:

> We don't want to sit around waiting several seconds for an expensive 
> regular expression engine run that is invoked unnecessarily.

Until we know whether the expense is the execution or the compilation,
we don't know which problem to solve, and there is a real possibility
that this will all need to get ripped out to support include/exclude
later -- at which time it will be perceived as a regression.

> And we don't want to waste valuable CPU power which is needed by other 
> users - we are working on servers here, not on personal desktop systems.

I don't mean to sound obnoxious here, but if CPU is an issue, you need a
better server. Have you actually looked that the CPU utilization on a
modern server? It usually isn't very high. On most servers, the disk is
the real bottleneck.

I begin to suspect that we may not be building the RE correctly. In
abstract, the RE processing should be completely overwhelmed by the seek
and stat overheads here.
-- 
Jonathan S. Shapiro
Managing Director
The EROS Group, LLC
www.coyotos.org, www.eros-os.org



More information about the Mercurial-devel mailing list