Memory-conserving changes to SHAMapTreeNode and visitLeavesInternal.

This commit is contained in:
JoelKatz
2013-12-05 22:43:07 -08:00
parent e6da61120a
commit 636d722e8d
9 changed files with 154 additions and 66 deletions

View File

@@ -472,6 +472,7 @@ public:
m_ledgerMaster->tune (getConfig ().getSize (siLedgerSize), getConfig ().getSize (siLedgerAge));
m_sleCache.setTargetSize (getConfig ().getSize (siSLECacheSize));
m_sleCache.setTargetAge (getConfig ().getSize (siSLECacheAge));
SHAMap::setTreeCache (getConfig ().getSize (siTreeCacheSize), getConfig ().getSize (siTreeCacheAge));
//----------------------------------------------------------------------