diff options
author | smatz <smatz@openttd.org> | 2011-04-19 18:12:47 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2011-04-19 18:12:47 +0000 |
commit | 0c55cbfa73ca1ebfa7e22dd0778d87249ae5b31b (patch) | |
tree | 1fd8c19e17d548c13edbe71be5a22c78098cb074 /src/pathfinder/yapf/yapf_node_ship.hpp | |
parent | b1e3b098d1392fd4360a0536ce3e721812ba27fd (diff) | |
download | openttd-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_ship.hpp')
-rw-r--r-- | src/pathfinder/yapf/yapf_node_ship.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathfinder/yapf/yapf_node_ship.hpp b/src/pathfinder/yapf/yapf_node_ship.hpp index 3fbc299f7..7a1358af6 100644 --- a/src/pathfinder/yapf/yapf_node_ship.hpp +++ b/src/pathfinder/yapf/yapf_node_ship.hpp @@ -25,8 +25,8 @@ typedef CYapfShipNodeT<CYapfNodeKeyExitDir> CYapfShipNodeExitDir; typedef CYapfShipNodeT<CYapfNodeKeyTrackDir> CYapfShipNodeTrackDir; /* Default NodeList types */ -typedef CNodeList_HashTableT<CYapfShipNodeExitDir , 14, 16> CShipNodeListExitDir; -typedef CNodeList_HashTableT<CYapfShipNodeTrackDir, 16, 20> CShipNodeListTrackDir; +typedef CNodeList_HashTableT<CYapfShipNodeExitDir , 10, 12> CShipNodeListExitDir; +typedef CNodeList_HashTableT<CYapfShipNodeTrackDir, 10, 12> CShipNodeListTrackDir; #endif /* YAPF_NODE_SHIP_HPP */ |