( )⚙ D12143 rank: compute property incrementally

This is an archive of the discontinued Mercurial Phabricator instance.

rank: compute property incrementally
ClosedPublic

Authored by pacien on Feb 7 2022, 12:25 PM.

Details

Summary

This replaces the naive rank computation with a more efficient incremental
method, avoiding computing the whole ancestor set when possible.

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

pacien created this revision.Feb 7 2022, 12:25 PM
Alphare accepted this revision.Feb 8 2022, 10:33 AM
This revision is now accepted and ready to land.Feb 8 2022, 10:33 AM
pacien edited the summary of this revision. (Show Details)Feb 14 2022, 12:07 PM
pacien updated this revision to Diff 32171.
This revision was automatically updated to reflect the committed changes.