diff mercurial/diffhelpers.c @ 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 f1c127df7c4f
children 2f51f4c535d2
line wrap: on
line diff