summaryrefslogtreecommitdiff
path: root/src/pathfinder/yapf/yapf_node_rail.hpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2011-04-19 18:12:47 +0000
committersmatz <smatz@openttd.org>2011-04-19 18:12:47 +0000
commit0c55cbfa73ca1ebfa7e22dd0778d87249ae5b31b (patch)
tree1fd8c19e17d548c13edbe71be5a22c78098cb074 /src/pathfinder/yapf/yapf_node_rail.hpp
parentb1e3b098d1392fd4360a0536ce3e721812ba27fd (diff)
downloadopenttd-0c55cbfa73ca1ebfa7e22dd0778d87249ae5b31b.tar.xz
(svn r22350) -Change: make YAPF hash tables much smaller, it should improve performance significantly (about 15%)
Diffstat (limited to 'src/pathfinder/yapf/yapf_node_rail.hpp')
-rw-r--r--src/pathfinder/yapf/yapf_node_rail.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathfinder/yapf/yapf_node_rail.hpp b/src/pathfinder/yapf/yapf_node_rail.hpp
index 31149ec7c..275133bd8 100644
--- a/src/pathfinder/yapf/yapf_node_rail.hpp
+++ b/src/pathfinder/yapf/yapf_node_rail.hpp
@@ -291,7 +291,7 @@ typedef CYapfRailNodeT<CYapfNodeKeyExitDir> CYapfRailNodeExitDir;
typedef CYapfRailNodeT<CYapfNodeKeyTrackDir> CYapfRailNodeTrackDir;
/* Default NodeList types */
-typedef CNodeList_HashTableT<CYapfRailNodeExitDir , 10, 12> CRailNodeListExitDir;
-typedef CNodeList_HashTableT<CYapfRailNodeTrackDir, 12, 16> CRailNodeListTrackDir;
+typedef CNodeList_HashTableT<CYapfRailNodeExitDir , 8, 10> CRailNodeListExitDir;
+typedef CNodeList_HashTableT<CYapfRailNodeTrackDir, 8, 10> CRailNodeListTrackDir;
#endif /* YAPF_NODE_RAIL_HPP */