This is an archive of the discontinued Mercurial Phabricator instance.

branchmap: decode a label only once
ClosedPublic

Authored by pulkit on Feb 11 2019, 8:05 AM.

Details

Summary

This moves decoding of a label out of for loop. Minor speed up expected in cases
when one branch has multiple heads. For example: someone using bookmarks as
branches and hence ending up with multiple heads on default branch.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit created this revision.Feb 11 2019, 8:05 AM
This revision was automatically updated to reflect the committed changes.