[PATCH 3 of 8] ignore: add ui to ignore stack

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sun May 17 22:12:42 CDT 2015

On 05/16/2015 02:18 AM, Martin von Zweigbergk wrote:
> As mentioned elsewhere, I and the other Martin would really like to see
> if we can afford (performance-wise) to replace pattern-rewriting with
> application of the pattern to a substring. It just seems like the right
> thing to do from the user's point of view. At least if done in C and
> avoiding string copying, it doesn't seem like a terribly expensive
> operation. What else is done in this code path? Stat'ing the files?
> Listing files in directory? Seems like that should be more expensive,
> but maybe not on warm disk?

With watchman, the disk is rarely touched directly.

Pierre-Yves David

More information about the Mercurial-devel mailing list