annotate mercurial/cext/__init__.py @ 41086:a28833d79aca
revlog: use the native implementation of issnapshot
In some sparserevlog case where a lot of the history has to be searched for a
snapshot, the cost of issnashot cost becomes significant. The computation done
by the method is fairly low level, a native implementation provide a very
significant speedup.
example affected manifest write
before: 0.490375s
after: 0.114989s (-76%)
author |
Boris Feld <boris.feld@octobus.net> |
date |
Fri, 21 Dec 2018 05:27:38 +0100 |
parents |
c48583859e04 |
children |
|