Mercurial > hg
view mercurial/templates/raw/changeset.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 | f91e5630ce7e |
children |
line wrap: on
line source
{header} # HG changeset patch # User {author} # Date {date|hgdate} # Node ID {node} {parent%changesetparent} {desc} {diff}