forked from mirror/OpenTTD
(svn r19161) -Codechange: make the default size of the open list used for yapf a lot lower to reduce memory usage
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user