Mercurial > hg
comparison mercurial/templater.py @ 21984:977a0b9af5ac
dirstate: add a method to efficiently filter by match
Current callers that require just this data call workingctx.walk, which calls
dirstate.walk, which stats all the files. Even worse, workingctx.walk looks for
unknown files, significantly slowing things down, even though callers might not
be interested in them at all.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Fri, 01 Aug 2014 22:05:16 -0700 |
parents | 2896d450fec4 |
children | 5678b0e3608f b6531d806de8 |
comparison
equal
deleted
inserted
replaced
21983:52d34d5415c9 | 21984:977a0b9af5ac |
---|