This is an archive of the discontinued Mercurial Phabricator instance.

changegroup: make delta header struct formatters actual structs
ClosedPublic

Authored by indygreg on Aug 3 2018, 5:04 PM.

Details

Summary

Why we weren't using compiled Struct instances, I don't know. They
make code simpler. In theory they are faster. Although I don't
believe I was able to measure any meaningful change. That could be
because this code is often dominated by compression, deltafication,
and function call overhead.

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.