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_road.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_road.hpp')
-rw-r--r-- | src/pathfinder/yapf/yapf_node_road.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathfinder/yapf/yapf_node_road.hpp b/src/pathfinder/yapf/yapf_node_road.hpp index d93ece9ec..5cc2d5539 100644 --- a/src/pathfinder/yapf/yapf_node_road.hpp +++ b/src/pathfinder/yapf/yapf_node_road.hpp @@ -35,7 +35,7 @@ typedef CYapfRoadNodeT<CYapfNodeKeyExitDir> CYapfRoadNodeExitDir; typedef CYapfRoadNodeT<CYapfNodeKeyTrackDir> CYapfRoadNodeTrackDir; /* Default NodeList types */ -typedef CNodeList_HashTableT<CYapfRoadNodeExitDir , 8, 12> CRoadNodeListExitDir; -typedef CNodeList_HashTableT<CYapfRoadNodeTrackDir, 10, 14> CRoadNodeListTrackDir; +typedef CNodeList_HashTableT<CYapfRoadNodeExitDir , 8, 10> CRoadNodeListExitDir; +typedef CNodeList_HashTableT<CYapfRoadNodeTrackDir, 8, 10> CRoadNodeListTrackDir; #endif /* YAPF_NODE_ROAD_HPP */ |