This is an archive of the discontinued Mercurial Phabricator instance.

branchcache: don't verify closed nodes in iteropen()
ClosedPublic

Authored by pulkit on Apr 5 2019, 9:31 AM.

Details

Summary

We expect that the nodes passed to iteropen() will be verified. We are only
testing for membership in closed nodes set, so we don't need to verify the whole
closed nodes set.

This will speed up calculating branchheads() when there are lot of closed nodes
related to other branches.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped