Mercurial > hg
diff mercurial/dirstateguard.py @ 44988:fa151f7af275
phases: improve performance of _retractboundary
The old version repeatedly converts nodes to revisions, which is a
moderately expensive operation. Mapping all new changes once to
revisions and back at the end reduces the time spend in _retractboundary
during the unbundling of NetBSD's src from 67s to 17s.
Differential Revision: https://phab.mercurial-scm.org/D8641
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Thu, 18 Jun 2020 22:23:22 +0200 |
parents | 687b865b95ad |
children | 89a2afe31e82 |