( )⚙ D5580 rust: dagop.headrevs() Rust counterparts

This is an archive of the discontinued Mercurial Phabricator instance.

rust: dagop.headrevs() Rust counterparts
ClosedPublic

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

Details

Summary

This introduces two Rust implementations for mercurial.dagop.headrevs.
The algorithm is identical to the Python version.
Depending on the caller, one or the other could be the most practical, or
the most performant, by minimizing the amount of memory copy and allocations.

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.