(svn r19161) -Codechange: make the default size of the open list used for yapf a lot lower to reduce memory usage

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
yexo 15 years ago
parent 1abc0db336
commit 3a36964734

@ -40,7 +40,7 @@ private:
ItemPtr *m_items; ///< The heap item pointers
public:
explicit CBinaryHeapT(int max_items = 102400)
explicit CBinaryHeapT(int max_items)
: m_size(0)
, m_max_size(max_items)
{

@ -49,7 +49,7 @@ protected:
public:
/** default constructor */
CNodeList_HashTableT()
: m_open_queue(204800)
: m_open_queue(2048)
{
m_new_node = NULL;
}

Loading…
Cancel
Save