Mercurial > hg
diff tests/test-confused-revert.t @ 41109:3e1960e23e6b
delta: reuse _findsnapshot call from previous stage
Two different stage of the sparse-revlog logic needs the _findsnapshot data.
To avoid recomputing it twice, make it possible to reuse the first computation
in the second step.
example affected manifest write
before: 0.067141s
after: 0.064252s (-5%)
(total gain since start of series: 95%)
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 20 Dec 2018 10:16:24 +0100 |
parents | cb70501d8b71 |
children | 8d72e29ad1e0 |