Mercurial > hg
diff hgweb.cgi @ 24955:1df233bcb7f6
remove: use ctx.hasdir(f) instead of 'f in ctx.dirs()'
This speeds up 'hg remove python/README' on the Firefox repo from
2.479s to 0.664s with lazily loaded treemanifests (which is not yet in
core) and has no measurable effect on flat manifests.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 21 Apr 2015 09:29:59 -0700 |
parents | 85cba926cb59 |
children | 4b0fc75f9403 |