diff mercurial/posix.py @ 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 47e3f554df35
children 593f6359681d
line wrap: on
line diff