diff options
author | yexo <yexo@openttd.org> | 2010-02-18 18:04:02 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-02-18 18:04:02 +0000 |
commit | 3a3696473437193f411e60a56f8371a6fa1904b9 (patch) | |
tree | 97b02ec6c1d921556b4f627c936f94a0e9fed1c7 /src/pathfinder/yapf | |
parent | 1abc0db336655f16fcc584fb8f5521beeb063234 (diff) | |
download | openttd-3a3696473437193f411e60a56f8371a6fa1904b9.tar.xz |
(svn r19161) -Codechange: make the default size of the open list used for yapf a lot lower to reduce memory usage
Diffstat (limited to 'src/pathfinder/yapf')
-rw-r--r-- | src/pathfinder/yapf/nodelist.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder/yapf/nodelist.hpp b/src/pathfinder/yapf/nodelist.hpp index e88085b61..9260c45f7 100644 --- a/src/pathfinder/yapf/nodelist.hpp +++ b/src/pathfinder/yapf/nodelist.hpp @@ -49,7 +49,7 @@ protected: public: /** default constructor */ CNodeList_HashTableT() - : m_open_queue(204800) + : m_open_queue(2048) { m_new_node = NULL; } |