This is an archive of the discontinued Mercurial Phabricator instance.

exchangev2: avoid second look-up by node
ClosedPublic

Authored by joerg.sonnenberger on Jan 18 2021, 6:51 PM.

Details

Summary

Accessing the revlog by node is slightly more expensive than by
revision, so look up the revision first and use it afterwards.

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.