HomePhabricator

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

Authored by pulkit.

Description

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

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.

Differential Revision: https://phab.mercurial-scm.org/D6209

Details

Committed
pulkitApr 5 2019, 8:56 AM
Differential Revision
D6209: branchcache: don't verify closed nodes in iteropen()
Parents
rHG6578654916ae: branchcache: lazily validate nodes from the branchmap
Branches
Unknown
Tags
Unknown