Mercurial > hg
view mercurial/templates/raw/changelog.tmpl @ 38634:f0ea8b847831
revlog: early return in _slicechunk when density is already good
We don't need to do anything if we know we won't enter the second while loop.
Save the overhead of the first loop by returning earlier.
author | Paul Morelle <paul.morelle@octobus.net> |
---|---|
date | Tue, 19 Jun 2018 15:03:58 +0200 |
parents | 078ccd780b71 |
children |