sapling/treemanifest
Durham Goode e2c52435b0 treemanifest: optimize which trees we keep in memory during auto create
Previously, autocreate would keep every tree we created in memory. This result
in a memory explosion such that the process was eating 10's of GB of memory.
Let's optimize this to keep track of how many times each tree will be needed,
then throw the tree away once it is no longer needed.

Testing this via 'hg pull' showed that memory stayed constant even when pulling
and converting thousands of commits.
2016-09-21 13:51:39 -07:00
..
__init__.py treemanifest: optimize which trees we keep in memory during auto create 2016-09-21 13:51:39 -07:00