This is an archive of the discontinued Mercurial Phabricator instance.

rust: MissingAncestors.basesheads()
ClosedPublic

Authored by gracinet on Jan 14 2019, 9:14 PM.

Details

Summary

This new API method on MissingAncestors leverages directly the
Rust implementation for relative heads of a set, and also
lowers the cost of returning the results to Python in the context of
discovery.

These interchange costs can probably be further reduced by implementing
the partialdiscovery class in Rust, but that will be investigated in the
5.0 development cycle.

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

gracinet created this revision.Jan 14 2019, 9:14 PM
This revision was automatically updated to reflect the committed changes.