diff mercurial/keepalive.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 49f8ba4febec
children 89a2afe31e82
line wrap: on
line diff