Mercurial > hg
comparison mercurial/i18n.py @ 39615:a658f97c1ce4
censor: use a reasonable amount of memory
Before this change, trying to censor some random revision uses an ever
increasing amount of memory (I stopped at 20GB, but it was by no means
finished), presumably because these contexts have a lot of
information that is kept alive.
After this change, the memory usage plateaus quickly.
Differential Revision: https://phab.mercurial-scm.org/D4582
author | Valentin Gatien-Baron <vgatien-baron@janestreet.com> |
---|---|
date | Thu, 13 Sep 2018 16:22:53 -0400 |
parents | 79dd61a4554f |
children | dd83aafdb64a |
comparison
equal
deleted
inserted
replaced
39614:a2880ac67ee0 | 39615:a658f97c1ce4 |
---|