Mercurial > hg
comparison mercurial/sparse.py @ 45872:ec73a6a75985
transaction: split new files into a separate set
Journal entries with size 0 are common as they represent new revlog
files. Move them from the dictionary into a set as the former is more
dense. This reduces peak RSS by 70MB for the NetBSD test repository with
around 450k files under .hg/store.
Differential Revision: https://phab.mercurial-scm.org/D9278
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Sat, 07 Nov 2020 22:31:29 +0100 |
parents | 590a840fa367 |
children | d55b71393907 |
comparison
equal
deleted
inserted
replaced
45871:a985c4fb23ca | 45872:ec73a6a75985 |
---|