comparison mercurial/cext/util.h @ 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 fa33196088c4
children 84391ddf4c78
comparison
equal deleted inserted replaced
41085:a6556b09bf83 41086:a28833d79aca