D1224: merge: cache unknown dir checks (issue5716)
mbthomas (Mark Thomas)
phabricator at mercurial-scm.org
Wed Oct 25 05:35:24 EDT 2017
mbthomas added a comment.
Updated as requested.
The whole of `_checkunknownfiles` is probably a reasonable candidate for native code if we want to speed up `update`. It's the second most expensive part, after actually updating the files. The function is also pretty isolated - it accesses the dirstate (which may also be native code), and in some cases it checks the file contents on disk against the destination revision, but that's pretty rare. It might even be possible to do some of it in parallel.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1224
To: mbthomas, #hg-reviewers
Cc: sid0, krbullock, mercurial-devel
More information about the Mercurial-devel
mailing list