HomePhabricator

revlog: improve documentation of the entry tuple

Authored by marmoute.

Description

revlog: improve documentation of the entry tuple

The code in revlog, and outside revlog directly use the index's entry tuple,
with direct integer indexing. This is a voluntary trade off to obtains better
performance from the Python code at the expense of the developers sanity.

Let's at least have a clear and central documentation about what this tuple is
about.

Differential Revision: https://phab.mercurial-scm.org/D10643

Details

Committed
marmouteMay 3 2021, 10:52 AM
Differential Revision
D10643: revlog: improve documentation of the entry tuple
Parents
rHGde63be070e02: revlog: simplify entry update logic in `rewrite_sidedata`
Branches
Unknown
Tags
Unknown