D6023: branchcache: move loading of branch names and nodes into it's own function

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Mon Feb 25 10:10:50 EST 2019


pulkit added a comment.


  I am trying to make branchcache make lazy load and only validate nodes if required. This will speed up operations and loading of branchcache. Right now loading of branchcache validates all the nodes which is not required until the branch which has that node is accessed. I believe doing this will speed up things. However the current dict interface of branchcache object is making this hard, hence I have sent only this patch for now.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6023

To: pulkit, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list