( )⚙ D5932 branchmap: decode a label only once

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
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

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