branchmap: decode a label only once
ClosedPublic

Authored by pulkit on Mon, Feb 11, 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.
pulkit created this revision.Mon, Feb 11, 8:05 AM
This revision was automatically updated to reflect the committed changes.